Preferences/ConfigurationPages/NetworkPage.py

changeset 564
b3d966393ba9
parent 289
baf4c1354c6a
child 668
b0061a6f7484
--- a/Preferences/ConfigurationPages/NetworkPage.py	Sat Sep 04 19:51:19 2010 +0200
+++ b/Preferences/ConfigurationPages/NetworkPage.py	Sat Sep 04 19:51:48 2010 +0200
@@ -39,7 +39,7 @@
         self.requestFilenameCheckBox.setChecked(
             Preferences.getUI("RequestDownloadFilename"))
         
-        self.proxyGroup.setChecked(\
+        self.proxyGroup.setChecked(
             Preferences.getUI("UseProxy"))
         if Preferences.getUI("UseSystemProxy"):
             self.systemProxyButton.setChecked(True)
@@ -47,17 +47,17 @@
             self.manualProxyButton.setChecked(True)
         self.httpProxyForAllCheckBox.setChecked(
             Preferences.getUI("UseHttpProxyForAll"))
-        self.httpProxyHostEdit.setText(\
+        self.httpProxyHostEdit.setText(
             Preferences.getUI("ProxyHost/Http"))
-        self.httpsProxyHostEdit.setText(\
+        self.httpsProxyHostEdit.setText(
             Preferences.getUI("ProxyHost/Https"))
-        self.ftpProxyHostEdit.setText(\
+        self.ftpProxyHostEdit.setText(
             Preferences.getUI("ProxyHost/Ftp"))
-        self.httpProxyPortSpin.setValue(\
+        self.httpProxyPortSpin.setValue(
             Preferences.getUI("ProxyPort/Http"))
-        self.httpsProxyPortSpin.setValue(\
+        self.httpsProxyPortSpin.setValue(
             Preferences.getUI("ProxyPort/Https"))
-        self.ftpProxyPortSpin.setValue(\
+        self.ftpProxyPortSpin.setValue(
             Preferences.getUI("ProxyPort/Ftp"))
         
     def save(self):
@@ -93,7 +93,7 @@
         """
         Private slot to handle the directory selection via dialog.
         """
-        directory = QFileDialog.getExistingDirectory(\
+        directory = QFileDialog.getExistingDirectory(
             self,
             self.trUtf8("Select download directory"),
             self.downloadDirEdit.text(),
@@ -112,4 +112,4 @@
     @param dlg reference to the configuration dialog
     """
     page = NetworkPage()
-    return page
+    return page
\ No newline at end of file

eric ide

mercurial