From ed67ad10ddf4e67fb331d1d44bda173eaf8582ca Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Sun, 27 Jul 2025 15:36:29 +0300 Subject: Call TQApplication::coreThread() in a static manner This is a follow-up to d346b0f7a Signed-off-by: Alexander Golubev --- src/kernel/tqapplication.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/tqapplication.cpp') 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) { -- cgit v1.2.3