From 2af4c73f0f49ff0c262f65ca0d9a93905181e574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 29 Sep 2016 02:35:59 +0200 Subject: Properly import python_tqt module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit a7b3f0dc2315c54f38220595472ccbc79d5f317c) --- wineconfig/wineconfig.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'wineconfig/wineconfig.py') 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 * -- cgit v1.2.1