summaryrefslogtreecommitdiffstats
path: root/tools/dbusxml2qt3/methodgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dbusxml2qt3/methodgen.cpp')
-rw-r--r--tools/dbusxml2qt3/methodgen.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/dbusxml2qt3/methodgen.cpp b/tools/dbusxml2qt3/methodgen.cpp
index 3ec5d87..5b63071 100644
--- a/tools/dbusxml2qt3/methodgen.cpp
+++ b/tools/dbusxml2qt3/methodgen.cpp
@@ -592,10 +592,6 @@ 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);