Tools/UIPreviewer.py

changeset 457
608a9c14f4c9
parent 456
d766de2ccbc7
child 500
c3abc7895a01
diff -r d766de2ccbc7 -r 608a9c14f4c9 Tools/UIPreviewer.py
--- a/Tools/UIPreviewer.py	Thu Aug 05 08:35:30 2010 +0200
+++ b/Tools/UIPreviewer.py	Thu Aug 05 08:39:56 2010 +0200
@@ -160,7 +160,7 @@
                 """<b>Quit</b>"""
                 """<p>Quit the application.</p>"""
         ))
-        self.exitAct.triggered.connect(qApp.closeAllWindows)
+        self.exitAct.triggered[()].connect(qApp.closeAllWindows)
         
         self.copyAct = QAction(UI.PixmapCache.getIcon("editCopy.png"),
                             self.trUtf8('&Copy'), self)
@@ -550,4 +550,4 @@
         p.drawImage(marginX, marginY, 
                     img.scaled(width, height, 
                                Qt.KeepAspectRatio, Qt.SmoothTransformation))
-        p.end()
+        p.end()
\ No newline at end of file

eric ide

mercurial