Remove DBus workaround for Neon

This commit is contained in:
falkTX 2019-09-18 11:36:38 +01:00
parent 38941feee8
commit 01bfb7a3c9
3 changed files with 3 additions and 30 deletions

View File

@ -55,16 +55,7 @@ try:
from dbus.mainloop.pyqt5 import DBusQtMainLoop
haveDBus = True
except:
kxstudioWorkaround = "/opt/kxstudio/python3/dist-packages/dbus/mainloop"
if os.path.exists(kxstudioWorkaround):
try:
sys.path.insert(1, kxstudioWorkaround)
from pyqt5 import DBusQtMainLoop
haveDBus = True
except:
haveDBus = False
else:
haveDBus = False
haveDBus = False
# ------------------------------------------------------------------------------------------------------------
# Check for PulseAudio and Wine

View File

@ -31,16 +31,7 @@ try:
from dbus.mainloop.pyqt5 import DBusQtMainLoop
haveDBus = True
except:
kxstudioWorkaround = "/opt/kxstudio/python3/dist-packages/dbus/mainloop"
if os.path.exists(kxstudioWorkaround):
try:
sys.path.insert(1, kxstudioWorkaround)
from pyqt5 import DBusQtMainLoop
haveDBus = True
except:
haveDBus = False
else:
haveDBus = False
haveDBus = False
# ------------------------------------------------------------------------------------------------------------
# Try Import OpenGL

View File

@ -51,16 +51,7 @@ try:
from dbus.mainloop.pyqt5 import DBusQtMainLoop
haveDBus = True
except:
kxstudioWorkaround = "/opt/kxstudio/python3/dist-packages/dbus/mainloop"
if os.path.exists(kxstudioWorkaround):
try:
sys.path.insert(1, kxstudioWorkaround)
from pyqt5 import DBusQtMainLoop
haveDBus = True
except:
haveDBus = False
else:
haveDBus = False
haveDBus = False
# ------------------------------------------------------------------------------------------------------------
# Try Import OpenGL