--- 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