summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-05-16 01:09:29 -0500
committerTimothy Pearson <[email protected]>2013-05-16 01:09:29 -0500
commit17ffc1e193fc3a089ef19ec79fa2a5bbb071ce82 (patch)
tree72786e22d34d141231c7cc8cf9d0f09cb4764d49 /src
parent4eba9b823832a5bab1acffeabc245b06fe113d75 (diff)
downloadqt3-17ffc1e193fc3a089ef19ec79fa2a5bbb071ce82.tar.gz
qt3-17ffc1e193fc3a089ef19ec79fa2a5bbb071ce82.zip
Fix downstream build failures due to missing TQApplication conditions
Diffstat (limited to 'src')
-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