QScintilla/Terminal.py

changeset 97
c4086afea02b
parent 55
b5c84934de9c
child 128
13e96bd0f5a5
--- a/QScintilla/Terminal.py	Sun Jan 31 17:11:22 2010 +0000
+++ b/QScintilla/Terminal.py	Sun Jan 31 18:31:28 2010 +0000
@@ -18,7 +18,7 @@
 from E5Gui.E5Application import e5App
 
 from . import Lexers
-from .QsciScintillaCompat import QsciScintillaCompat, QSCINTILLA_VERSION
+from .QsciScintillaCompat import QsciScintillaCompat
 
 import Preferences
 import Utilities
@@ -498,7 +498,6 @@
         @param ev key event (QKeyEvent)
         """
         txt = ev.text()
-        key = ev.key()
         
         # See it is text to insert.
         if len(txt) and txt >= " ":
@@ -853,7 +852,7 @@
         Private slot to stop the shell process.
         """
         self.__process.kill()
-        res = self.__process.waitForFinished(3000)
+        self.__process.waitForFinished(3000)
         
     def handlePreferencesChanged(self):
         """
@@ -927,4 +926,4 @@
         """
         Private method to open the configuration dialog.
         """
-        e5App().getObject("UserInterface").showPreferences("terminalPage")
\ No newline at end of file
+        e5App().getObject("UserInterface").showPreferences("terminalPage")

eric ide

mercurial