summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-07-23 16:56:11 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-23 19:57:07 +0200
commitbcb5e564ff302517156d881e57577f77bdc30f6e (patch)
tree6e02f8c513eb044bb1a4e449e762e3c8020688d6 /src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp
parent0026b80cd2a484ad9d685ff5a4f89e6c9815f913 (diff)
WindowSystemInterface::sendWindowSystemEvents(): Remove unused parameter.
No need to pass the dispatcher. Get rid of Windows logic to maintain a stack of dispatcher associated with flags. Change-Id: Ic2daad4b6762a46fac3274937effc188af436c9a Reviewed-by: David Faure <faure@kde.org>
Diffstat (limited to 'src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp')
-rw-r--r--src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp b/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp
index 14bf5f4f3f..e2afd67a07 100644
--- a/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp
+++ b/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp
@@ -71,10 +71,9 @@ static gboolean userEventSourceCheck(GSource *source)
return userEventSourcePrepare(source, 0);
}
-static gboolean userEventSourceDispatch(GSource *s, GSourceFunc, gpointer)
+static gboolean userEventSourceDispatch(GSource *, GSourceFunc, gpointer)
{
- GUserEventSource * source = reinterpret_cast<GUserEventSource *>(s);
- QWindowSystemInterface::sendWindowSystemEvents(source->q, QEventLoop::AllEvents);
+ QWindowSystemInterface::sendWindowSystemEvents(QEventLoop::AllEvents);
return true;
}