Tools/TRPreviewer.py

changeset 457
608a9c14f4c9
parent 456
d766de2ccbc7
child 461
34528aaedf1c
--- a/Tools/TRPreviewer.py	Thu Aug 05 08:35:30 2010 +0200
+++ b/Tools/TRPreviewer.py	Thu Aug 05 08:39:56 2010 +0200
@@ -176,7 +176,7 @@
                 """<b>Quit</b>"""
                 """<p>Quit the application.</p>"""
         ))
-        self.exitAct.triggered.connect(qApp.closeAllWindows)
+        self.exitAct.triggered[()].connect(qApp.closeAllWindows)
         
         self.whatsThisAct = QAction(UI.PixmapCache.getIcon("whatsThis.png"),
                                 self.trUtf8('&What\'s This?'), self)
@@ -853,4 +853,4 @@
         
         @return flag signaling if any widget was loaded (boolean)
         """
-        return len(self.widgets) > 0
+        return len(self.widgets) > 0
\ No newline at end of file

eric ide

mercurial