diff options
author | Slávek Banko <[email protected]> | 2016-09-28 19:23:30 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-28 19:23:43 +0200 |
commit | 81789276fd54b7b72a6f24ef6e6f4cdb26a9ea41 (patch) | |
tree | 240576673eb37cfbf0570407ed281332215d85e9 /src/qtuicompiler.py | |
parent | 577ca6cb8473b4d0a70a0c29cf49719cd0867553 (diff) | |
download | pytdeextensions-81789276fd54b7b72a6f24ef6e6f4cdb26a9ea41.tar.gz pytdeextensions-81789276fd54b7b72a6f24ef6e6f4cdb26a9ea41.zip |
Properly import python_tqt module
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit ec166143c498b91a7f0943493fdc958dae17ae5c)
Diffstat (limited to 'src/qtuicompiler.py')
-rw-r--r-- | src/qtuicompiler.py | 2 |
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: |