diff options
-rw-r--r-- | tools/dbusxml2qt3/methodgen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/dbusxml2qt3/methodgen.cpp b/tools/dbusxml2qt3/methodgen.cpp index 2374a98..7e0b633 100644 --- a/tools/dbusxml2qt3/methodgen.cpp +++ b/tools/dbusxml2qt3/methodgen.cpp @@ -592,6 +592,10 @@ bool MethodGenerator::extractMethods(const TQDomElement& interfaceElement, { method.async = hasAnnotation(element, "org.freedesktop.DBus.GLib.Async"); classData.methods.append(method); + if (method.async) { + method.async = false; + classData.methods.append(method); + } } else classData.msignals.append(method); |