summaryrefslogtreecommitdiff
path: root/debian/patches/0235-qdbus-dispatch-async-timeout.diff
blob: edd7fe7e966e2f11f3c429fcb9a1945a2ccf22ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
qt-bugs@ issue : none
Trolltech task ID : none
bugs.kde.org number : none
applied: no
author: Michael Leupold <lemma@confuego.org>

This patch dispatches synthesized timeout messages directly
after handling them. This is neccessary in order to receive timeout
errors to asynchroneous messages.

--- a/src/dbus/qdbusintegrator.cpp	(Revision 827848)
+++ b/src/dbus/qdbusintegrator.cpp	(Arbeitskopie)
@@ -988,6 +988,7 @@
 {
     DBusTimeout *timeout = timeouts.value(e->timerId(), 0);
     q_dbus_timeout_handle(timeout);
+    doDispatch();
 }
 
 void QDBusConnectionPrivate::customEvent(QEvent *e)