diff options
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: |