From a901fc0d5be4332fc746a86aa23aa1dd3e744e8a Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 6 Oct 2016 18:22:57 +0200 Subject: [PATCH] Fix isRunning check - just wait for m_Thread to be NULL --- qrenderdoc/Code/CaptureContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Code/CaptureContext.h b/qrenderdoc/Code/CaptureContext.h index 144de0322..66dc6bff3 100644 --- a/qrenderdoc/Code/CaptureContext.h +++ b/qrenderdoc/Code/CaptureContext.h @@ -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