summaryrefslogtreecommitdiffstats
path: root/src/kernel/qapplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qapplication.h')
-rw-r--r--src/kernel/qapplication.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/qapplication.h b/src/kernel/qapplication.h
index f05dbc3..0a24ade 100644
--- a/src/kernel/qapplication.h
+++ b/src/kernel/qapplication.h
@@ -435,7 +435,9 @@ private:
friend class QDialog;
friend class QAccelManager;
friend class QEvent;
+#ifdef QT_THREAD_SUPPORT
friend class QThread;
+#endif // QT_THREAD_SUPPORT
friend class QTranslator;
friend class QEventLoop;
friend Q_EXPORT void qt_ucm_initialize( QApplication * );
@@ -457,9 +459,9 @@ private:
public:
#ifdef QT_THREAD_SUPPORT
static QThread* guiThread();
+ static void threadTerminationHandler( QThread * );
#endif
static bool isGuiThread();
- static void threadTerminationHandler( QThread * );
};
inline int QApplication::argc() const