summaryrefslogtreecommitdiffstats
path: root/src/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-18 01:19:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-18 01:19:46 +0900
commit2df70f03d493f5226821dd2e1da3759e3abceb02 (patch)
treef105d7829be7401bd27b833e0e26cf64c6a62ad1 /src/kernel/qwidget.cpp
parentf849f22528ee9eb5eeb1f9aa92822846b2b3e01f (diff)
downloadqt3-2df70f03d493f5226821dd2e1da3759e3abceb02.tar.gz
qt3-2df70f03d493f5226821dd2e1da3759e3abceb02.zip
Revert "QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module"
The original commit was a mistake and should not have been pushed. This reverts commit f849f22528ee9eb5eeb1f9aa92822846b2b3e01f.
Diffstat (limited to 'src/kernel/qwidget.cpp')
-rw-r--r--src/kernel/qwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qwidget.cpp b/src/kernel/qwidget.cpp
index 1f24dc5..461c7f3 100644
--- a/src/kernel/qwidget.cpp
+++ b/src/kernel/qwidget.cpp
@@ -56,7 +56,7 @@
#include "qstyle.h"
#include "qmetaobject.h"
#include "qguardedptr.h"
-#if defined(TQT_THREAD_SUPPORT)
+#if defined(QT_THREAD_SUPPORT)
#include "qthread.h"
#endif
#if defined(QT_ACCESSIBILITY_SUPPORT)
@@ -890,7 +890,7 @@ QWidget::QWidget( QWidget *parent, const char *name, WFlags f, NFlags n )
}
#endif
-#if defined(TQT_THREAD_SUPPORT) && defined(QT_CHECK_STATE)
+#if defined(QT_THREAD_SUPPORT) && defined(QT_CHECK_STATE)
if (QThread::currentThreadObject() != QApplication::guiThread()) {
qFatal( "QWidget: Cannot create a QWidget outside of the main GUI thread" );
}