summaryrefslogtreecommitdiff
path: root/core/apps/embeddedkonsole
Unidiff
Diffstat (limited to 'core/apps/embeddedkonsole') (more/less context) (show whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/TEWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.cpp b/core/apps/embeddedkonsole/TEWidget.cpp
index 0cd7ed1..a111e18 100644
--- a/core/apps/embeddedkonsole/TEWidget.cpp
+++ b/core/apps/embeddedkonsole/TEWidget.cpp
@@ -986,13 +986,13 @@ bool TEWidget::eventFilter( QObject *obj, QEvent *e )
986 QApplication::sendEvent(scrollbar, e); 986 QApplication::sendEvent(scrollbar, e);
987 } 987 }
988 988
989#ifdef FAKE_CTRL_AND_ALT 989#ifdef FAKE_CTRL_AND_ALT
990 static bool control = FALSE; 990 static bool control = FALSE;
991 static bool alt = FALSE; 991 static bool alt = FALSE;
992 qDebug(" Has a keyboard with no CTRL and ALT keys, but we fake it:"); 992// qDebug(" Has a keyboard with no CTRL and ALT keys, but we fake it:");
993 bool dele=FALSE; 993 bool dele=FALSE;
994 if ( e->type() == QEvent::KeyPress || e->type() == QEvent::KeyRelease ) { 994 if ( e->type() == QEvent::KeyPress || e->type() == QEvent::KeyRelease ) {
995 QKeyEvent* ke = (QKeyEvent*)e; 995 QKeyEvent* ke = (QKeyEvent*)e;
996 bool keydown = e->type() == QEvent::KeyPress || ke->isAutoRepeat(); 996 bool keydown = e->type() == QEvent::KeyPress || ke->isAutoRepeat();
997 switch (ke->key()) { 997 switch (ke->key()) {
998 case Key_F9: // let this be "Control" 998 case Key_F9: // let this be "Control"