summaryrefslogtreecommitdiffstats
path: root/src/tools/dbusxml2qt3/methodgen.cpp
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2019-06-29 16:56:27 +0000
committerEmanoil Kotsev <deloptes@gmail.com>2019-06-29 16:56:27 +0000
commit6bead3d3d08b6405a32ea6d5fc966fc70d889824 (patch)
treebd30772f1fbbbaccc9f5cabba262a59c012f9d39 /src/tools/dbusxml2qt3/methodgen.cpp
parent1738aa06021b232f1fb94121d3da63aa343e51a9 (diff)
downloaddbus-1-tqt-6bead3d3d08b6405a32ea6d5fc966fc70d889824.tar.gz
dbus-1-tqt-6bead3d3d08b6405a32ea6d5fc966fc70d889824.zip
Fix problem with d-feet and annotation missing value attribute
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Diffstat (limited to 'src/tools/dbusxml2qt3/methodgen.cpp')
-rw-r--r--src/tools/dbusxml2qt3/methodgen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/dbusxml2qt3/methodgen.cpp b/src/tools/dbusxml2qt3/methodgen.cpp
index 882c1cd..a7e3427 100644
--- a/src/tools/dbusxml2qt3/methodgen.cpp
+++ b/src/tools/dbusxml2qt3/methodgen.cpp
@@ -1710,6 +1710,8 @@ void MethodGenerator::writeIntrospectionDataMethod(const Class& classData,
}
stream << " asyncAnnotationElement.setAttribute(\"name\", "
<< "\"org.freedesktop.DBus.GLib.Async\");" << endl;
+ stream << " asyncAnnotationElement.setAttribute(\"value\", "
+ << "\"true\");" << endl;
stream << " methodElement.appendChild(asyncAnnotationElement);" << endl;
}