Automated update from Qt3

pull/1/head
Timothy Pearson 12 years ago
parent eb1d1e0dec
commit f3c5f3ba06

@ -1646,7 +1646,8 @@ void tqt_init_internal( int *argcptr, char **argv,
setlocale( LC_NUMERIC, "C" ); // make sprintf()/scanf() work
#if defined(QT_THREAD_SUPPORT)
if ( tqt_is_gui_used ) {
if (( tqt_is_gui_used ) && ( !display )) {
// If TQt is running standalone with a GUI, initialize X11 threading
XInitThreads();
}
#endif

Loading…
Cancel
Save