Fix isRunning check - just wait for m_Thread to be NULL

This commit is contained in:
baldurk
2016-10-06 18:22:57 +02:00
parent 149e83ba76
commit a901fc0d5b
+1 -1
View File
@@ -243,7 +243,7 @@ public:
}
void start(QThread::Priority prio = QThread::InheritPriority) { m_Thread->start(prio); }
bool isRunning() { return m_Thread && m_Thread->isRunning(); }
bool isRunning() { return m_Thread; }
};
// helper for doing a manual blocking invoke of a dialog