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