summaryrefslogtreecommitdiffstats
path: root/src/qtuicompiler.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-28 19:23:30 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-28 19:23:30 +0200
commitec166143c498b91a7f0943493fdc958dae17ae5c (patch)
tree9d525a1ed2995d6b09a7a38d6434bf797d9d3fb5 /src/qtuicompiler.py
parent4d065d1c64dc63893092f3f14ae231c8f16f155b (diff)
downloadpytdeextensions-ec166143c498b91a7f0943493fdc958dae17ae5c.tar.gz
pytdeextensions-ec166143c498b91a7f0943493fdc958dae17ae5c.zip
Properly import python_tqt module
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/qtuicompiler.py')
-rw-r--r--src/qtuicompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qtuicompiler.py b/src/qtuicompiler.py
index b08e79c..7e196df 100644
--- a/src/qtuicompiler.py
+++ b/src/qtuicompiler.py
@@ -59,7 +59,7 @@ def CompileUI(ui_file_name, py_file_name=None, kde=False):
input = open(tmp_file_name, 'r')
output = open(py_file_name, 'w')
for line in input.readlines():
- if kde and string.strip(line) == 'from qt import *':
+ if kde and string.strip(line) == 'from python_tqt.qt import *':
output.write(line)
output.write('from tdecore import *\nfrom tdeui import *\n\n')
elif kde and string.find(line, " = KDatePicker(") != -1: