mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Eep, a return is in order
This commit is contained in:
@@ -149,7 +149,10 @@ ScanManager::runDirScan( const QStringList& paths, bool manualFull )
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if ( paths.isEmpty() )
|
if ( paths.isEmpty() )
|
||||||
|
{
|
||||||
Database::instance()->enqueue( QSharedPointer<DatabaseCommand>( new DatabaseCommand_DeleteFiles( SourceList::instance()->getLocal() ) ) );
|
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
|
if ( !m_musicScannerThreadController && m_scanner.isNull() ) //still running if these are not zero
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user