1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-31 01:30:02 +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
Source::scanningFinished()
Source::scanningFinished( bool updateGUI )
{
m_textStatus = QString();
@@ -306,7 +306,9 @@ Source::scanningFinished()
}
emit stateChanged();
emit synced();
if ( updateGUI )
emit synced();
}

View File

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