From df590f5efe1ab22549aa8896be5d3677b3523712 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 8 Sep 2012 18:00:29 -0500 Subject: Reset error object to succesful state in async calls --- tools/dbusxml2qt3/methodgen.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.1