eric5.py

changeset 465
c20e25deb33a
parent 433
988006cb898f
child 467
0911d8be9b07
--- a/eric5.py	Mon Aug 09 15:36:47 2010 +0200
+++ b/eric5.py	Mon Aug 09 15:49:03 2010 +0200
@@ -229,7 +229,7 @@
     splash.showMessage(QApplication.translate("eric5", "Generating Main Window..."))
     try:
         mainWindow = UserInterface(app, loc, splash, pluginFile, noopen, restartArgs)
-        app.connect(app, SIGNAL("lastWindowClosed()"), app, SLOT("quit()"))
+        app.lastWindowClosed.connect(app.quit)
         mainWindow.show()
         
         QTimer.singleShot(0, uiStartUp)

eric ide

mercurial