src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesNewPatchDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10490
527d47826e97
child 11090
f5f5f5803935
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesNewPatchDialog.py	Mon Apr 22 15:15:36 2024 +0200
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesNewPatchDialog.py	Mon Apr 22 18:23:20 2024 +0200
@@ -82,11 +82,11 @@
         self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enable)
 
     @pyqtSlot(str)
-    def on_nameEdit_textChanged(self, txt):
+    def on_nameEdit_textChanged(self, _txt):
         """
         Private slot to handle changes of the patch name.
 
-        @param txt text of the edit
+        @param _txt text of the edit (unused)
         @type str
         """
         self.__updateUI()
@@ -99,31 +99,31 @@
         self.__updateUI()
 
     @pyqtSlot(bool)
-    def on_userGroup_toggled(self, checked):
+    def on_userGroup_toggled(self, _checked):
         """
         Private slot to handle changes of the user group state.
 
-        @param checked flag giving the checked state
+        @param _checked flag giving the checked state (unused)
         @type bool
         """
         self.__updateUI()
 
     @pyqtSlot(bool)
-    def on_currentUserCheckBox_toggled(self, checked):
+    def on_currentUserCheckBox_toggled(self, _checked):
         """
         Private slot to handle changes of the currentuser state.
 
-        @param checked flag giving the checked state
+        @param _checked flag giving the checked state (unused)
         @type bool
         """
         self.__updateUI()
 
     @pyqtSlot(str)
-    def on_userEdit_textChanged(self, txt):
+    def on_userEdit_textChanged(self, _txt):
         """
         Private slot to handle changes of the user name.
 
-        @param txt text of the edit
+        @param _txt text of the edit (unused)
         @type str
         """
         self.__updateUI()

eric ide

mercurial