PluginCxFreeze.py

changeset 5
de1e980553fa
parent 4
192986d70612
child 8
6baba3f53168
--- a/PluginCxFreeze.py	Fri Jul 30 18:43:56 2010 +0200
+++ b/PluginCxFreeze.py	Thu Aug 12 19:25:08 2010 +0200
@@ -10,7 +10,7 @@
 import os
 import sys
 
-from PyQt4.QtCore import QObject, SIGNAL, QTranslator, QCoreApplication
+from PyQt4.QtCore import QObject, QTranslator, QCoreApplication
 from PyQt4.QtGui import QDialog, QMessageBox
 
 from E5Gui.E5Action import E5Action
@@ -148,7 +148,7 @@
             """ files and directories must be given absolute or"""
             """ relative to the project directory.</p>"""
             ))
-            self.connect(self.__projectAct, SIGNAL('triggered()'), self.__cxfreeze)
+            self.__projectAct.triggered[()].connect(self.__cxfreeze)
             e5App().getObject("Project").addE5Actions([self.__projectAct])
             menu.addAction(self.__projectAct)
         

eric ide

mercurial