1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-02 10:24:01 +02:00

* Source's scanningFinished method now expects an updateGUI bool.

This commit is contained in:
Christian Muehlhaeuser
2012-11-16 07:15:33 +01:00
parent 08814de814
commit 7c39357c28
2 changed files with 5 additions and 3 deletions

View File

@@ -295,7 +295,7 @@ Source::scanningProgress( unsigned int files )
void void
Source::scanningFinished() Source::scanningFinished( bool updateGUI )
{ {
m_textStatus = QString(); m_textStatus = QString();
@@ -306,6 +306,8 @@ Source::scanningFinished()
} }
emit stateChanged(); emit stateChanged();
if ( updateGUI )
emit synced(); emit synced();
} }

View File

@@ -80,7 +80,7 @@ public:
void setControlConnection( ControlConnection* cc ); void setControlConnection( ControlConnection* cc );
void scanningProgress( unsigned int files ); void scanningProgress( unsigned int files );
void scanningFinished(); void scanningFinished( bool updateGUI );
unsigned int trackCount() const; unsigned int trackCount() const;