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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
@@ -80,7 +80,7 @@ public:
|
||||
void setControlConnection( ControlConnection* cc );
|
||||
|
||||
void scanningProgress( unsigned int files );
|
||||
void scanningFinished();
|
||||
void scanningFinished( bool updateGUI );
|
||||
|
||||
unsigned int trackCount() const;
|
||||
|
||||
|
Reference in New Issue
Block a user