mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
Don't start new scans before everything is cleaned up, put them onto the event loop
This commit is contained in:
@@ -281,10 +281,10 @@ ScanManager::scannerFinished()
|
||||
|
||||
case Full:
|
||||
case Normal:
|
||||
runNormalScan( m_queuedScanType == Full );
|
||||
QMetaObject::invokeMethod( this, "runNormalScan", Qt::QueuedConnection, Q_ARG( bool, m_queuedScanType == Full ) );
|
||||
break;
|
||||
case File:
|
||||
runFileScan();
|
||||
QMetaObject::invokeMethod( this, "runFileScan", Qt::QueuedConnection, Q_ARG( QStringList, QStringList() ) );
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Reference in New Issue
Block a user