summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-08 18:00:29 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-08 18:00:29 -0500
commitdf590f5efe1ab22549aa8896be5d3677b3523712 (patch)
tree21bab517933075936ec167f759dc15384acb6a3c /tools
parentcd48fbedf55ac59fd8c740386d1c13430c8c02f0 (diff)
downloaddbus-1-tqt-df590f5efe1ab22549aa8896be5d3677b3523712.tar.gz
dbus-1-tqt-df590f5efe1ab22549aa8896be5d3677b3523712.zip
Reset error object to succesful state in async calls
Diffstat (limited to 'tools')
-rw-r--r--tools/dbusxml2qt3/methodgen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/dbusxml2qt3/methodgen.cpp b/tools/dbusxml2qt3/methodgen.cpp
index 45a5b8e..2374a98 100644
--- a/tools/dbusxml2qt3/methodgen.cpp
+++ b/tools/dbusxml2qt3/methodgen.cpp
@@ -1260,6 +1260,9 @@ void MethodGenerator::writeProxyMethod(const TQString& className,
<< method.name << "\";" << endl;
stream << endl;
+ stream << " error = TQT_DBusError();";
+ stream << endl;
+
stream << " return (asyncCallId != 0);" << endl;
stream << "}" << endl;
stream << endl;