IconEditor/IconEditorWindow.py

changeset 455
9a7e0b7b801e
parent 453
a81097a85889
child 456
d766de2ccbc7
equal deleted inserted replaced
453:a81097a85889 455:9a7e0b7b801e
263 """<p>Quit the icon editor.</p>""" 263 """<p>Quit the icon editor.</p>"""
264 )) 264 ))
265 if self.fromEric: 265 if self.fromEric:
266 self.exitAct.triggered.connect(self.close) 266 self.exitAct.triggered.connect(self.close)
267 else: 267 else:
268 self.connect(self.exitAct, SIGNAL('triggered()'), 268 self.exitAct.triggered.connect(qApp.closeAllWindows)
269 qApp, SLOT('closeAllWindows()'))
270 self.__actions.append(self.exitAct) 269 self.__actions.append(self.exitAct)
271 270
272 def __initEditActions(self): 271 def __initEditActions(self):
273 """ 272 """
274 Private method to create the Edit actions. 273 Private method to create the Edit actions.

eric ide

mercurial