summaryrefslogtreecommitdiffstats
path: root/wineconfig
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-29 02:35:59 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-29 02:36:09 +0200
commit2af4c73f0f49ff0c262f65ca0d9a93905181e574 (patch)
treec64969c34515c21b6e38674f588791f6d26757a6 /wineconfig
parentdf9d151b0229fce8f6a2d10ec56e53169e81abe4 (diff)
downloadtde-guidance-2af4c73f0f49ff0c262f65ca0d9a93905181e574.tar.gz
tde-guidance-2af4c73f0f49ff0c262f65ca0d9a93905181e574.zip
Properly import python_tqt moduler14.0.4
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a7b3f0dc2315c54f38220595472ccbc79d5f317c)
Diffstat (limited to 'wineconfig')
-rwxr-xr-xwineconfig/firstrunwizard.py2
-rwxr-xr-xwineconfig/wineconfig.py14
2 files changed, 2 insertions, 14 deletions
diff --git a/wineconfig/firstrunwizard.py b/wineconfig/firstrunwizard.py
index 43891b3..da5977c 100755
--- a/wineconfig/firstrunwizard.py
+++ b/wineconfig/firstrunwizard.py
@@ -16,7 +16,7 @@
# #
###########################################################################
-from qt import *
+from python_tqt.qt import *
from tdecore import *
from tdeui import *
from tdefile import *
diff --git a/wineconfig/wineconfig.py b/wineconfig/wineconfig.py
index cf6d008..ea2ba42 100755
--- a/wineconfig/wineconfig.py
+++ b/wineconfig/wineconfig.py
@@ -19,19 +19,7 @@
import sys
import os
import os.path
-# Trinity-specific paths
-tqt_modules = []
-for m_path in sys.path:
- if os.path.exists(os.path.join(m_path, 'sip4_tqt')):
- m_sip_dir = os.path.join(m_path, 'sip4_tqt')
- tqt_modules.insert(0, m_sip_dir)
- if os.path.exists(os.path.join(m_path, 'python_tqt')):
- m_pyqt_dir = os.path.join(m_path, 'python_tqt')
- tqt_modules.insert(0, m_pyqt_dir)
-for m_path in tqt_modules:
- sys.path.insert(0, m_path)
-
-from qt import *
+from python_tqt.qt import *
from tdecore import *
from tdeui import *
from tdefile import *