From 17ffc1e193fc3a089ef19ec79fa2a5bbb071ce82 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 16 May 2013 01:09:29 -0500 Subject: [PATCH] Fix downstream build failures due to missing TQApplication conditions --- src/kernel/qapplication.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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