--- a/eric6/E5Gui/E5MainWindow.py Thu Apr 08 17:27:12 2021 +0200 +++ b/eric6/E5Gui/E5MainWindow.py Thu Apr 08 18:27:47 2021 +0200 @@ -39,6 +39,7 @@ # step 1: set the style style = None if styleName != "System" and styleName in QStyleFactory.keys(): + # __IGNORE_WARNING_Y118__ style = QStyleFactory.create(styleName) if style is None: style = QStyleFactory.create(self.defaultStyleName)