diff options
Diffstat (limited to 'src/corelib/thread/qthread_unix.cpp')
-rw-r--r-- | src/corelib/thread/qthread_unix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp index b3040f3dee..e9db276d48 100644 --- a/src/corelib/thread/qthread_unix.cpp +++ b/src/corelib/thread/qthread_unix.cpp @@ -256,8 +256,8 @@ void QThreadPrivate::createEventDispatcher(QThreadData *data) data->eventDispatcher = new QEventDispatcherBlackberry; #else #if !defined(QT_NO_GLIB) - if (qgetenv("QT_NO_GLIB").isEmpty() - && qgetenv("QT_NO_THREADED_GLIB").isEmpty() + if (qEnvironmentVariableIsEmpty("QT_NO_GLIB") + && qEnvironmentVariableIsEmpty("QT_NO_THREADED_GLIB") && QEventDispatcherGlib::versionSupported()) data->eventDispatcher = new QEventDispatcherGlib; else |