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;