mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-14 01:54:07 +02:00
Merge branch 'stable'
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
Version 0.0.2:
|
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.
|
* 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
|
* Find Twitter peers if the peer's Got Tomahawk? tweet is not their latest
|
||||||
tweet.
|
tweet.
|
||||||
|
@@ -44,6 +44,9 @@ ScanManager::ScanManager( QObject* parent )
|
|||||||
s_instance = this;
|
s_instance = this;
|
||||||
|
|
||||||
connect( TomahawkSettings::instance(), SIGNAL( changed() ), SLOT( onSettingsChanged() ) );
|
connect( TomahawkSettings::instance(), SIGNAL( changed() ), SLOT( onSettingsChanged() ) );
|
||||||
|
|
||||||
|
if ( TomahawkSettings::instance()->hasScannerPath() )
|
||||||
|
m_currScannerPath = TomahawkSettings::instance()->scannerPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -76,8 +79,12 @@ ScanManager::~ScanManager()
|
|||||||
void
|
void
|
||||||
ScanManager::onSettingsChanged()
|
ScanManager::onSettingsChanged()
|
||||||
{
|
{
|
||||||
if ( TomahawkSettings::instance()->hasScannerPath() )
|
if ( TomahawkSettings::instance()->hasScannerPath() &&
|
||||||
runManualScan( TomahawkSettings::instance()->scannerPath() );
|
m_currScannerPath != TomahawkSettings::instance()->scannerPath() )
|
||||||
|
{
|
||||||
|
m_currScannerPath = TomahawkSettings::instance()->scannerPath();
|
||||||
|
runManualScan( m_currScannerPath );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -53,6 +53,7 @@ private:
|
|||||||
|
|
||||||
MusicScanner* m_scanner;
|
MusicScanner* m_scanner;
|
||||||
QThread* m_musicScannerThreadController;
|
QThread* m_musicScannerThreadController;
|
||||||
|
QString m_currScannerPath;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user