1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

Eep, a return is in order

This commit is contained in:
Jeff Mitchell
2011-09-30 17:48:06 -04:00
parent 630439cddf
commit ff764df4af

View File

@@ -149,7 +149,10 @@ ScanManager::runDirScan( const QStringList& paths, bool manualFull )
return;
if ( paths.isEmpty() )
{
Database::instance()->enqueue( QSharedPointer<DatabaseCommand>( new DatabaseCommand_DeleteFiles( SourceList::instance()->getLocal() ) ) );
return;
}
if ( !m_musicScannerThreadController && m_scanner.isNull() ) //still running if these are not zero
{