diff --git a/qrenderdoc/Code/QRDUtils.h b/qrenderdoc/Code/QRDUtils.h index d3b0c0bd4..b5603f434 100644 --- a/qrenderdoc/Code/QRDUtils.h +++ b/qrenderdoc/Code/QRDUtils.h @@ -560,6 +560,8 @@ public: return m_Thread->wait(time); return true; } + + bool isCurrentThread() { return QThread::currentThread() == m_Thread; } }; class QFileFilterModel : public QSortFilterProxyModel