QTfrontend/ui/widget/lineeditcursor.cpp
changeset 8434 4821897a0f10
parent 8385 9e8924ff9813
child 9080 9b42757d7e71
--- 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);
 }