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;