eric7/UI/CodeDocumentationViewer.py

branch
eric7
changeset 8631
b2c4c2f3fda7
parent 8617
3ea0b67205b6
child 8881
54e42bc2437a
--- a/eric7/UI/CodeDocumentationViewer.py	Fri Sep 24 16:34:46 2021 +0200
+++ b/eric7/UI/CodeDocumentationViewer.py	Fri Sep 24 17:37:38 2021 +0200
@@ -81,12 +81,6 @@
         self.__verticalLayout.setContentsMargins(0, 0, 0, 0)
         
         try:
-            # TODO: remove this workaround once rc0 issue is fixed
-            # Workaround for a bug in Qt 6.2.0 rc0 on non-Linux
-            import sys
-            if not sys.platform.startswith("linux"):
-                raise ImportError
-            
             from PyQt6.QtWebEngineCore import QWebEngineSettings
             from PyQt6.QtWebEngineWidgets import QWebEngineView
             self.__contents = QWebEngineView(self)

eric ide

mercurial