diff options
author | Timothy Pearson <[email protected]> | 2012-09-08 18:00:29 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-09-08 18:00:29 -0500 |
commit | df590f5efe1ab22549aa8896be5d3677b3523712 (patch) | |
tree | 21bab517933075936ec167f759dc15384acb6a3c /tools/dbusxml2qt3/methodgen.cpp | |
parent | cd48fbedf55ac59fd8c740386d1c13430c8c02f0 (diff) | |
download | dbus-1-tqt-df590f5efe1ab22549aa8896be5d3677b3523712.tar.gz dbus-1-tqt-df590f5efe1ab22549aa8896be5d3677b3523712.zip |
Reset error object to succesful state in async calls
Diffstat (limited to 'tools/dbusxml2qt3/methodgen.cpp')
-rw-r--r-- | tools/dbusxml2qt3/methodgen.cpp | 3 |
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; |