summaryrefslogtreecommitdiffstats
path: root/scripts/templates/qobjectclass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/templates/qobjectclass.cpp')
-rw-r--r--scripts/templates/qobjectclass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/templates/qobjectclass.cpp b/scripts/templates/qobjectclass.cpp
index 8568b560..83b13dd0 100644
--- a/scripts/templates/qobjectclass.cpp
+++ b/scripts/templates/qobjectclass.cpp
@@ -44,7 +44,7 @@
#include <Qt${namespace}/Q${namespace}${className}>
[%- superclasses = [] %]
-[% SET useNamespace = 'false' -%]
+[% useNamespace = [] -%]
[%- forwards = [] -%]
[%- visitedClasses = [] -%]
[%- GENERATE_FWD_DECLARATIONS(class, visitedClasses, forwards, useNamespace, superclasses) -%]