Fix MSVC-warning about unused variable eventdispatcher.
Change-Id: Ic7c12f16c310cc681bba39a7969de235afcf0f44 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
This commit is contained in:
parent
10a6e4d22b
commit
62a3aaf3f1
@ -504,8 +504,8 @@ void tst_QEventLoop::processEventsExcludeTimers()
|
||||
// but not if we exclude timers
|
||||
eventLoop.processEvents(QEventLoop::X11ExcludeTimers);
|
||||
|
||||
QAbstractEventDispatcher *eventDispatcher = QCoreApplication::eventDispatcher();
|
||||
#if defined(Q_OS_UNIX)
|
||||
QAbstractEventDispatcher *eventDispatcher = QCoreApplication::eventDispatcher();
|
||||
if (!qobject_cast<QEventDispatcherUNIX *>(eventDispatcher)
|
||||
#if defined(HAVE_GLIB)
|
||||
&& !qobject_cast<QEventDispatcherGlib *>(eventDispatcher)
|
||||
|
Loading…
Reference in New Issue
Block a user