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.exitAct.triggered.connect(qApp.closeAllWindows) |
268 self.exitAct.triggered[()].connect(qApp.closeAllWindows) |
269 self.__actions.append(self.exitAct) |
269 self.__actions.append(self.exitAct) |
270 |
270 |
271 def __initEditActions(self): |
271 def __initEditActions(self): |
272 """ |
272 """ |
273 Private method to create the Edit actions. |
273 Private method to create the Edit actions. |