From d051d52d2c8160f259c340fca2dbd2cd2a1157a2 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 f4cda51c9..9fc6d4b68 100644 --- a/src/libtomahawk/Source.cpp +++ b/src/libtomahawk/Source.cpp @@ -490,20 +490,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;