summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tqdbusconnection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tqdbusconnection.cpp b/tqdbusconnection.cpp
index d185e36..0961a18 100644
--- a/tqdbusconnection.cpp
+++ b/tqdbusconnection.cpp
@@ -296,6 +296,7 @@ TQT_DBusMessage TQT_DBusConnection::sendWithReply(const TQT_DBusMessage &message
// and the dbus_error_is_set() check cannot be moved inside fromDBusMessage() without breaking the API and ABI.
if (!dbus_error_is_set(&d->error)) {
ret.d->error = TQT_DBusError();
+ *error = TQT_DBusError();
}
return ret;