mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
Merge branch 'stable'
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
Version 0.0.2:
|
||||
* Don't run a rescan of the local collection if the settings dialog is
|
||||
closed successfully but the path hasn't changed.
|
||||
* Don't attempt to connect to unavailable Twitter peers over and over.
|
||||
* Find Twitter peers if the peer's Got Tomahawk? tweet is not their latest
|
||||
tweet.
|
||||
|
@@ -44,6 +44,9 @@ ScanManager::ScanManager( QObject* parent )
|
||||
s_instance = this;
|
||||
|
||||
connect( TomahawkSettings::instance(), SIGNAL( changed() ), SLOT( onSettingsChanged() ) );
|
||||
|
||||
if ( TomahawkSettings::instance()->hasScannerPath() )
|
||||
m_currScannerPath = TomahawkSettings::instance()->scannerPath();
|
||||
}
|
||||
|
||||
|
||||
@@ -76,8 +79,12 @@ ScanManager::~ScanManager()
|
||||
void
|
||||
ScanManager::onSettingsChanged()
|
||||
{
|
||||
if ( TomahawkSettings::instance()->hasScannerPath() )
|
||||
runManualScan( TomahawkSettings::instance()->scannerPath() );
|
||||
if ( TomahawkSettings::instance()->hasScannerPath() &&
|
||||
m_currScannerPath != TomahawkSettings::instance()->scannerPath() )
|
||||
{
|
||||
m_currScannerPath = TomahawkSettings::instance()->scannerPath();
|
||||
runManualScan( m_currScannerPath );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@@ -53,6 +53,7 @@ private:
|
||||
|
||||
MusicScanner* m_scanner;
|
||||
QThread* m_musicScannerThreadController;
|
||||
QString m_currScannerPath;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user