diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2025-07-27 15:36:29 +0300 |
|---|---|---|
| committer | Alexander Golubev <fatzer2@gmail.com> | 2025-07-27 15:36:29 +0300 |
| commit | ed67ad10ddf4e67fb331d1d44bda173eaf8582ca (patch) | |
| tree | 7f1cef38ae3e166034c6f5d2ba186e1d63378b5a | |
| parent | d346b0f7afcf92a76466c5aaff5fed80d74dcb59 (diff) | |
| download | tqt-ed67ad10ddf4e67fb331d1d44bda173eaf8582ca.tar.gz tqt-ed67ad10ddf4e67fb331d1d44bda173eaf8582ca.zip | |
Call TQApplication::coreThread() in a static manner
This is a follow-up to d346b0f7a
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
| -rw-r--r-- | src/kernel/tqapplication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/tqapplication.cpp b/src/kernel/tqapplication.cpp index e6aad87c4..c6e6510b4 100644 --- a/src/kernel/tqapplication.cpp +++ b/src/kernel/tqapplication.cpp @@ -3076,7 +3076,7 @@ int TQApplication::exec() void TQApplication::exit( int retcode ) { #ifdef TQT_THREAD_SUPPORT - TQThread* thread = tqApp->coreThread(); + TQThread* thread = TQApplication::coreThread(); if (thread) { if (thread->d) { if (thread->d->eventLoop) { @@ -3139,7 +3139,7 @@ int TQApplication::loopLevel() const void TQApplication::wakeUpCoreThread() { #ifdef TQT_THREAD_SUPPORT - TQThread* thread = tqApp->coreThread(); + TQThread* thread = TQApplication::coreThread(); if (thread) { if (thread->d) { if (thread->d->eventLoop) { |
