From 83909e53f90a4520b941f953d297789477d18717 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Wed, 6 Apr 2011 19:58:24 -0400 Subject: [PATCH] Don't unconditionally scan for changes on startup --- src/scanmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scanmanager.cpp b/src/scanmanager.cpp index dba8ffcc3..f28cf0f82 100644 --- a/src/scanmanager.cpp +++ b/src/scanmanager.cpp @@ -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() ); }