IconEditor/IconEditorWindow.py

changeset 455
9a7e0b7b801e
parent 453
a81097a85889
child 456
d766de2ccbc7
--- a/IconEditor/IconEditorWindow.py	Wed Aug 04 08:54:52 2010 +0200
+++ b/IconEditor/IconEditorWindow.py	Wed Aug 04 14:03:01 2010 +0200
@@ -265,8 +265,7 @@
         if self.fromEric:
             self.exitAct.triggered.connect(self.close)
         else:
-            self.connect(self.exitAct, SIGNAL('triggered()'), 
-                         qApp, SLOT('closeAllWindows()'))
+            self.exitAct.triggered.connect(qApp.closeAllWindows)
         self.__actions.append(self.exitAct)
     
     def __initEditActions(self):
@@ -1231,4 +1230,4 @@
         """
         Private slot called in to enter Whats This mode.
         """
-        QWhatsThis.enterWhatsThisMode()
\ No newline at end of file
+        QWhatsThis.enterWhatsThisMode()

eric ide

mercurial