We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adf9883 commit c0ffc3aCopy full SHA for c0ffc3a
src/tabstractcontroller.h
@@ -29,6 +29,7 @@ class T_CORE_EXPORT TAbstractController : public QObject {
29
const TActionContext *context() const { return _context; }
30
TActionContext *context() { return _context; }
31
void setContext(TActionContext *context) { _context = context; }
32
+ static QThread *currentThread() { return QThread::currentThread(); }
33
34
protected:
35
virtual TSession &session();
0 commit comments