summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2012-02-16 01:21:18 -0200
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2012-04-02 10:26:30 -0300
commit7d9b4b9e6cb2ad5281d58b0e9312f415456ae86c (patch)
tree2a7b71d4f3146d0888a2fb24b0586eecfb1f6d3d /tools
parent839a95f7eed803433aba69759c6a8a4a5d88c2bb (diff)
qt-svc-gen.py: Properly indent properties setter declarations.
Diffstat (limited to 'tools')
-rw-r--r--tools/qt-svc-gen.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qt-svc-gen.py b/tools/qt-svc-gen.py
index 133f4c9d..9ab9cd83 100644
--- a/tools/qt-svc-gen.py
+++ b/tools/qt-svc-gen.py
@@ -455,10 +455,10 @@ Q_SIGNALS: // SIGNALS
})
self.b("""
- void %(ifacename)s::%(settername)s(%(type)s newValue)
- {
- adaptee()->setProperty("%(name)s", qVariantFromValue(newValue));
- }
+void %(ifacename)s::%(settername)s(%(type)s newValue)
+{
+ adaptee()->setProperty("%(name)s", qVariantFromValue(newValue));
+}
""" % {'ifacename': ifacename,
'settername': settername,
'type': binding.val,