mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
Don't unconditionally watch for changes
This commit is contained in:
@@ -117,7 +117,9 @@ void
|
|||||||
ScanManager::scanTimerTimeout()
|
ScanManager::scanTimerTimeout()
|
||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO;
|
qDebug() << Q_FUNC_INFO;
|
||||||
if ( !Database::instance() || ( Database::instance() && !Database::instance()->isReady() ) )
|
if ( !TomahawkSettings::instance()->watchForChanges() ||
|
||||||
|
!Database::instance() ||
|
||||||
|
( Database::instance() && !Database::instance()->isReady() ) )
|
||||||
return;
|
return;
|
||||||
else
|
else
|
||||||
runScan();
|
runScan();
|
||||||
|
Reference in New Issue
Block a user