summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kernel/tqapplication.cpp4
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) {