eric7/E5Gui/E5PassivePopup.py

branch
eric7
changeset 8322
b422b4e77d19
parent 8318
962bce857696
diff -r ea11a3948f40 -r b422b4e77d19 eric7/E5Gui/E5PassivePopup.py
--- a/eric7/E5Gui/E5PassivePopup.py	Mon May 17 19:58:15 2021 +0200
+++ b/eric7/E5Gui/E5PassivePopup.py	Tue May 18 18:19:47 2021 +0200
@@ -52,12 +52,12 @@
         self.__autoDelete = False
         self.__fixedPosition = QPoint()
         
-        self.setWindowFlags(Qt.WindowFlags(
+        self.setWindowFlags(
             Qt.WindowType.Tool |
             Qt.WindowType.X11BypassWindowManagerHint |
             Qt.WindowType.WindowStaysOnTopHint |
             Qt.WindowType.FramelessWindowHint
-        ))
+        )
         if style == E5PassivePopupStyle.STYLED:
             self.setFrameStyle(QFrame.Shape.StyledPanel | QFrame.Shadow.Plain)
         else:

eric ide

mercurial