From 2c0058457d080cca6fccd1a9f7daaafb3a0e2e51 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Mon, 26 Nov 2012 10:57:44 -0600
Subject: Fix last commit

---
 tqdbusconnection.cpp | 1 +
 1 file changed, 1 insertion(+)

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;
-- 
cgit v1.2.3

