diff options
author | Timothy Pearson <[email protected]> | 2013-05-16 01:09:29 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-05-16 01:09:29 -0500 |
commit | 17ffc1e193fc3a089ef19ec79fa2a5bbb071ce82 (patch) | |
tree | 72786e22d34d141231c7cc8cf9d0f09cb4764d49 | |
parent | 4eba9b823832a5bab1acffeabc245b06fe113d75 (diff) | |
download | qt3-17ffc1e193fc3a089ef19ec79fa2a5bbb071ce82.tar.gz qt3-17ffc1e193fc3a089ef19ec79fa2a5bbb071ce82.zip |
Fix downstream build failures due to missing TQApplication conditions
-rw-r--r-- | src/kernel/qapplication.h | 4 |
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 |