summaryrefslogtreecommitdiff
path: root/qface/helper/qtcpp.py
diff options
context:
space:
mode:
Diffstat (limited to 'qface/helper/qtcpp.py')
-rw-r--r--qface/helper/qtcpp.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/qface/helper/qtcpp.py b/qface/helper/qtcpp.py
index 1ffa865..aeae6f0 100644
--- a/qface/helper/qtcpp.py
+++ b/qface/helper/qtcpp.py
@@ -3,7 +3,11 @@ Provides helper functionality specificially for Qt C++/QML code generators
"""
import qface.idl.domain as domain
from jinja2 import environmentfilter
-from ..filters import upper_first
+
+
+def upper_first(s):
+ s = str(s)
+ return s[0].upper() + s[1:]
class Filters(object):