File gentoo-5d2ce844509819ff37b0389131d5adacd5c6d2e6.patch of Package libdbus-1-qt3-0
From 5d2ce844509819ff37b0389131d5adacd5c6d2e6 Mon Sep 17 00:00:00 2001
From: Serghei Amelian <serghei.amelian@gmail.com>
Date: Wed, 30 May 2012 00:42:12 +0300
Subject: [PATCH] [dbus] dispatch signals occurred while the application is
blocked in QDBusConnection::sendWithReply()
---
dbus/src/qdbusconnection.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dbus/src/qdbusconnection.cpp b/dbus/src/qdbusconnection.cpp
index 761a746..249fecc 100644
--- a/dbus/src/qdbusconnection.cpp
+++ b/dbus/src/qdbusconnection.cpp
@@ -285,6 +285,9 @@ QDBusMessage QDBusConnection::sendWithReply(const QDBusMessage &message, QDBusEr
dbus_message_unref(msg);
+ // dispatch signals occurred while waiting for reply
+ scheduleDispatch();
+
return QDBusMessage::fromDBusMessage(reply);
}
--
1.7.10