mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Eep, a return is in order
This commit is contained in:
parent
630439cddf
commit
ff764df4af
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user