--- a/Tools/TRPreviewer.py Wed Aug 04 08:54:52 2010 +0200 +++ b/Tools/TRPreviewer.py Wed Aug 04 14:03:01 2010 +0200 @@ -176,8 +176,7 @@ """<b>Quit</b>""" """<p>Quit the application.</p>""" )) - self.connect(self.exitAct, SIGNAL('triggered()'), - qApp, SLOT('closeAllWindows()')) + self.exitAct.triggered.connect(qApp.closeAllWindows) self.whatsThisAct = QAction(UI.PixmapCache.getIcon("whatsThis.png"), self.trUtf8('&What\'s This?'), self) @@ -854,4 +853,4 @@ @return flag signaling if any widget was loaded (boolean) """ - return len(self.widgets) > 0 \ No newline at end of file + return len(self.widgets) > 0