--- a/QTfrontend/ui/widget/lineeditcursor.cpp Fri Jan 25 12:54:24 2013 +0100
+++ b/QTfrontend/ui/widget/lineeditcursor.cpp Fri Jan 25 13:59:27 2013 +0100
@@ -22,14 +22,14 @@
void LineEditCursor::keyPressEvent(QKeyEvent * event)
{
- if (event->key() == Qt::Key_Up)
- emit moveUp();
- else if (event->key() == Qt::Key_Down)
- emit moveDown();
- else if (event->key() == Qt::Key_Left)
- emit moveLeft();
- else if (event->key() == Qt::Key_Right)
- emit moveRight();
- else
- QLineEdit::keyPressEvent(event);
+ if (event->key() == Qt::Key_Up)
+ emit moveUp();
+ else if (event->key() == Qt::Key_Down)
+ emit moveDown();
+ else if (event->key() == Qt::Key_Left)
+ emit moveLeft();
+ else if (event->key() == Qt::Key_Right)
+ emit moveRight();
+ else
+ QLineEdit::keyPressEvent(event);
}