summaryrefslogtreecommitdiffstats
path: root/tqdbusconnection_p.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-12-08 14:42:21 +0900
committerMichele Calgaro <[email protected]>2021-12-08 19:23:43 +0900
commita5488007501c78afcbfaff5bb6e48fec85afebe8 (patch)
treefaf8146bfeabeab5a6301317c65203f3387a1c38 /tqdbusconnection_p.h
parentfb8b28ec7dc78e2b8c6fc3e3c3e5f3d7a1984b06 (diff)
downloaddbus-1-tqt-a5488007501c78afcbfaff5bb6e48fec85afebe8.tar.gz
dbus-1-tqt-a5488007501c78afcbfaff5bb6e48fec85afebe8.zip
Make sure to handle pending messages at start up if a dbus service
is invoked by the dbus daemon. Prior to this fix, when a service was started by the dbus daemon, the first dbus call sent to it was being held back till the next dbus call was performed, resulting in a long timeout for the first unhandled call and a delayed answer. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 96f7e609085b019989a3f7a613fbd05f629793bd)
Diffstat (limited to 'tqdbusconnection_p.h')
-rw-r--r--tqdbusconnection_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tqdbusconnection_p.h b/tqdbusconnection_p.h
index 6e4efd1..a27705a 100644
--- a/tqdbusconnection_p.h
+++ b/tqdbusconnection_p.h
@@ -85,6 +85,7 @@ public:
bool handleSignal(DBusMessage *msg);
bool handleObjectCall(DBusMessage *message);
bool handleError();
+ bool handleUnreadMessages();
void emitPendingCallReply(const TQT_DBusMessage& message);