summaryrefslogtreecommitdiffstats
path: root/src/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 14:42:21 +0900
commit96f7e609085b019989a3f7a613fbd05f629793bd (patch)
tree1b8687fcca0d26e911cb27627668694b4d2cda43 /src/tqdbusconnection_p.h
parentd05b026328cb7b5fe0178e17c5442fd612579d63 (diff)
downloaddbus-1-tqt-96f7e609085b019989a3f7a613fbd05f629793bd.tar.gz
dbus-1-tqt-96f7e609085b019989a3f7a613fbd05f629793bd.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]>
Diffstat (limited to 'src/tqdbusconnection_p.h')
-rw-r--r--src/tqdbusconnection_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tqdbusconnection_p.h b/src/tqdbusconnection_p.h
index 6e4efd1..a27705a 100644
--- a/src/tqdbusconnection_p.h
+++ b/src/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);