src/eric7/Snapshot/SnapshotTimer.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
diff -r d1a603a70f83 -r 9becf9ca115c src/eric7/Snapshot/SnapshotTimer.py
--- a/src/eric7/Snapshot/SnapshotTimer.py	Tue Apr 23 09:29:13 2024 +0200
+++ b/src/eric7/Snapshot/SnapshotTimer.py	Tue Apr 23 11:26:04 2024 +0200
@@ -85,11 +85,11 @@
         self.__toggle = not self.__toggle
         self.update()
 
-    def paintEvent(self, evt):
+    def paintEvent(self, _evt):
         """
         Protected method handling paint events.
 
-        @param evt paint event
+        @param _evt paint event (unused)
         @type QPaintEvent
         """
         painter = QPainter(self)
@@ -123,11 +123,11 @@
                 helpText,
             )
 
-    def enterEvent(self, evt):
+    def enterEvent(self, _evt):
         """
         Protected method handling the mouse cursor entering the widget.
 
-        @param evt enter event
+        @param _evt enter event (unused)
         @type QEvent
         """
         screenGeom = QApplication.screens()[0].geometry()

eric ide

mercurial