mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-02 18:33:16 +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
|
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user