diff options
author | Timothy Pearson <[email protected]> | 2012-01-23 14:27:04 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-01-23 14:27:04 -0600 |
commit | 663d27a3f780102518e9bdef0fbaf5e5d1b16d52 (patch) | |
tree | 56fea58a725ffb8ad048775180abb70f0f8b0a19 /src/kernel | |
parent | 3998b821b38c13fbd0442dc8b7d237a052e9b75f (diff) | |
download | tqt3-663d27a3f780102518e9bdef0fbaf5e5d1b16d52.tar.gz tqt3-663d27a3f780102518e9bdef0fbaf5e5d1b16d52.zip |
Automated update of tqt3 from qt3
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/qapplication_x11.cpp | 6 |
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 |