QScintilla/Terminal.py

changeset 500
c3abc7895a01
parent 464
a2b1d1770ef0
child 564
b3d966393ba9
--- a/QScintilla/Terminal.py	Thu Aug 12 10:11:06 2010 +0200
+++ b/QScintilla/Terminal.py	Thu Aug 12 16:11:13 2010 +0200
@@ -89,7 +89,7 @@
         
         # Create a little context menu to send Ctrl-C, Ctrl-D or Ctrl-Z
         self.csm = QSignalMapper(self)
-        self.connect(self.csm, SIGNAL('mapped(int)'), self.__sendCtrl)
+        self.csm.mapped[int].connect(self.__sendCtrl)
         
         self.cmenu = QMenu(self.trUtf8('Ctrl Commands'))
         act = self.cmenu.addAction(self.trUtf8('Ctrl-C'))

eric ide

mercurial