--- 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()