eric7/E5Gui/E5PassivePopup.py

branch
eric7
changeset 8318
962bce857696
parent 8312
800c432b34c8
child 8322
b422b4e77d19
--- a/eric7/E5Gui/E5PassivePopup.py	Sun May 16 11:43:59 2021 +0200
+++ b/eric7/E5Gui/E5PassivePopup.py	Sun May 16 20:07:24 2021 +0200
@@ -10,8 +10,8 @@
 
 import enum
 
-from PyQt5.QtCore import pyqtSignal, Qt, QTimer, QPoint, QRect
-from PyQt5.QtWidgets import QFrame, QVBoxLayout, QApplication
+from PyQt6.QtCore import pyqtSignal, Qt, QTimer, QPoint, QRect
+from PyQt6.QtWidgets import QFrame, QVBoxLayout, QApplication
 
 
 class E5PassivePopupStyle(enum.Enum):
@@ -159,7 +159,7 @@
         @param evt reference to the mouse event (QMouseEvent)
         """
         self.clicked.emit()
-        self.clicked.emit(evt.pos())
+        self.clicked.emit(evt.position().toPoint())
     
     def hideEvent(self, evt):
         """

eric ide

mercurial