summaryrefslogtreecommitdiff
path: root/qutebrowser/qt/webkitwidgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/qt/webkitwidgets.py')
-rw-r--r--qutebrowser/qt/webkitwidgets.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/qutebrowser/qt/webkitwidgets.py b/qutebrowser/qt/webkitwidgets.py
index f8341e5cb..5a2df500e 100644
--- a/qutebrowser/qt/webkitwidgets.py
+++ b/qutebrowser/qt/webkitwidgets.py
@@ -6,11 +6,11 @@
from qutebrowser.qt import machinery
-if machinery.USE_PYQT5:
+if machinery.USE_PYSIDE6:
+ raise machinery.Unavailable()
+elif machinery.USE_PYQT5:
from PyQt5.QtWebKitWidgets import *
elif machinery.USE_PYQT6:
raise machinery.Unavailable()
-elif machinery.USE_PYSIDE6:
- raise machinery.Unavailable()
else:
raise machinery.UnknownWrapper()