1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-05 00:22:31 +02:00

Don't unconditionally scan for changes on startup

This commit is contained in:
Jeff Mitchell 2011-04-06 19:58:24 -04:00
parent 8690a76df7
commit 83909e53f9

View File

@ -146,7 +146,7 @@ ScanManager::setInitialPaths( QMap< QString, unsigned int > pathMap )
qDebug() << "Adding " << path << " to watcher";
m_dirWatcher->addPath( path );
}
if( TomahawkSettings::instance()->hasScannerPaths() )
if( TomahawkSettings::instance()->hasScannerPaths() && TomahawkSettings::instance()->watchForChanges() )
runManualScan( TomahawkSettings::instance()->scannerPaths() );
}