mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-12 15:19:14 +00:00
Add a utility to check if running on a lambda thread
This commit is contained in:
1 parent
bfc68d8320
commit
d1a4238e00
1 file changed
+2
@@ -560,6 +560,8 @@ public:
|
||||
return m_Thread->wait(time);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool isCurrentThread() { return QThread::currentThread() == m_Thread; }
|
||||
};
|
||||
|
||||
class QFileFilterModel : public QSortFilterProxyModel
|
||||
|
||||
Reference in new issue
Block a user