parent
5ed57331d6
commit
32649f78ea
@ -135,6 +135,7 @@ public:
|
||||
{
|
||||
emitProgress( 1.0 );
|
||||
}
|
||||
m_runningJobs->clear();
|
||||
QMetaObject::invokeMethod( m_queue, "finish", Qt::QueuedConnection );
|
||||
}
|
||||
|
||||
|
@ -77,9 +77,15 @@ signals:
|
||||
*/
|
||||
void queueChanged( const QStringList& jobNames );
|
||||
|
||||
private:
|
||||
public slots:
|
||||
/** @brief Implementation detail
|
||||
*
|
||||
* This is a private implementation detail for the job thread,
|
||||
* which should not be called by other core.
|
||||
*/
|
||||
void finish();
|
||||
|
||||
private:
|
||||
static JobQueue* s_instance;
|
||||
|
||||
JobThread* m_thread;
|
||||
|
Loading…
Reference in New Issue
Block a user