Preferences/ConfigurationPages/ApplicationPage.py

changeset 7
c679fb30c8f3
parent 0
de9c2efb9d02
child 12
1d8dd9706f46
--- a/Preferences/ConfigurationPages/ApplicationPage.py	Mon Dec 28 18:31:37 2009 +0000
+++ b/Preferences/ConfigurationPages/ApplicationPage.py	Wed Dec 30 15:40:33 2009 +0000
@@ -9,7 +9,7 @@
 
 import os
 
-from PyQt4.QtCore import QVariant, pyqtSlot
+from PyQt4.QtCore import pyqtSlot
 
 from ConfigurationPageBase import ConfigurationPageBase
 from Ui_ApplicationPage import Ui_ApplicationPage
@@ -69,9 +69,9 @@
         Public slot to save the Application configuration.
         """
         Preferences.setUI("SingleApplicationMode",
-            int(self.singleApplicationCheckBox.isChecked()))
+            self.singleApplicationCheckBox.isChecked())
         Preferences.setUI("ShowSplash",
-            int(self.splashScreenCheckBox.isChecked()))
+            self.splashScreenCheckBox.isChecked())
         
         if self.noOpenRadioButton.isChecked():
             openOnStartup = 0
@@ -98,10 +98,10 @@
         Preferences.setUI("PerformVersionCheck", period)
         
         Preferences.setUser("UseSystemEmailClient", 
-            int(self.systemEmailClientCheckBox.isChecked()))
+            self.systemEmailClientCheckBox.isChecked())
         
         Preferences.setUI("CheckErrorLog", 
-            int(self.errorlogCheckBox.isChecked()))
+            self.errorlogCheckBox.isChecked())
     
 def create(dlg):
     """

eric ide

mercurial