From a93663f8db68694293e85c170b9f7902243ad917 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 23 Oct 2014 16:07:38 +0200 Subject: [PATCH] Removed obsolete Source::scanningProgress. --- src/libtomahawk/Source.cpp | 14 -------------- src/libtomahawk/Source.h | 1 - 2 files changed, 15 deletions(-) diff --git a/src/libtomahawk/Source.cpp b/src/libtomahawk/Source.cpp index 630456814..afcd02b4b 100644 --- a/src/libtomahawk/Source.cpp +++ b/src/libtomahawk/Source.cpp @@ -493,20 +493,6 @@ Source::dbLoaded( unsigned int id, const QString& fname ) } -void -Source::scanningProgress( unsigned int files ) -{ - Q_D( Source ); - - if ( files ) - d->textStatus = tr( "Scanning (%L1 tracks)" ).arg( files ); - else - d->textStatus = tr( "Scanning" ); - - emit stateChanged(); -} - - void Source::scanningFinished( bool updateGUI ) { diff --git a/src/libtomahawk/Source.h b/src/libtomahawk/Source.h index 4380b9a7a..cadaaa743 100644 --- a/src/libtomahawk/Source.h +++ b/src/libtomahawk/Source.h @@ -93,7 +93,6 @@ public: const QSet< Tomahawk::peerinfo_ptr > peerInfos() const; - void scanningProgress( unsigned int files ); void scanningFinished( bool updateGUI ); unsigned int trackCount() const;