summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-23 14:27:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-23 14:27:04 -0600
commit663d27a3f780102518e9bdef0fbaf5e5d1b16d52 (patch)
tree56fea58a725ffb8ad048775180abb70f0f8b0a19 /src/kernel
parent3998b821b38c13fbd0442dc8b7d237a052e9b75f (diff)
downloadtqt3-663d27a3f780102518e9bdef0fbaf5e5d1b16d52.tar.gz
tqt3-663d27a3f780102518e9bdef0fbaf5e5d1b16d52.zip
Automated update of tqt3 from qt3
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/qapplication_x11.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp
index 5011351b3..33806f0ff 100644
--- a/src/kernel/qapplication_x11.cpp
+++ b/src/kernel/qapplication_x11.cpp
@@ -1632,6 +1632,12 @@ void qt_init_internal( int *argcptr, char **argv,
setlocale( LC_ALL, "" ); // use correct char set mapping
setlocale( LC_NUMERIC, "C" ); // make sprintf()/scanf() work
+#if defined(QT_THREAD_SUPPORT)
+ if ( qt_is_gui_used ) {
+ XInitThreads();
+ }
+#endif
+
if ( display ) {
// TQt part of other application