src/eric7/RemoteServerInterface/EricServerConnectionDialog.py

branch
server
changeset 10597
fbe93720ee9f
parent 10561
be23a662d709
child 10785
82d8a5606135
diff -r ea35c92a3c7c -r fbe93720ee9f src/eric7/RemoteServerInterface/EricServerConnectionDialog.py
--- a/src/eric7/RemoteServerInterface/EricServerConnectionDialog.py	Thu Feb 22 16:26:46 2024 +0100
+++ b/src/eric7/RemoteServerInterface/EricServerConnectionDialog.py	Thu Feb 22 16:34:43 2024 +0100
@@ -38,8 +38,9 @@
         self.setupUi(self)
 
         self.timeoutSpinBox.setToolTip(
-            self.tr("Enter the timeout for the connection attempt (default: {0} s.")
-            .format(Preferences.getEricServer("ConnectionTimeout"))
+            self.tr(
+                "Enter the timeout for the connection attempt (default: {0} s."
+            ).format(Preferences.getEricServer("ConnectionTimeout"))
         )
 
         self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(False)
@@ -58,14 +59,6 @@
         msh = self.minimumSizeHint()
         self.resize(max(self.width(), msh.width()), msh.height())
 
-    @pyqtSlot(str)
-    def on_hostnameEdit_textChanged(self, hostname):
-        """
-        Private slot handling a change of the hostname.
-
-        @param hostname text of the host name field
-        @type str
-        """
     @pyqtSlot()
     def __updateOK(self):
         """

eric ide

mercurial