mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 19:37:09 +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 Full:
|
||||||
case Normal:
|
case Normal:
|
||||||
runNormalScan( m_queuedScanType == Full );
|
QMetaObject::invokeMethod( this, "runNormalScan", Qt::QueuedConnection, Q_ARG( bool, m_queuedScanType == Full ) );
|
||||||
break;
|
break;
|
||||||
case File:
|
case File:
|
||||||
runFileScan();
|
QMetaObject::invokeMethod( this, "runFileScan", Qt::QueuedConnection, Q_ARG( QStringList, QStringList() ) );
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user