eliminate the compiler warning on Linux

This commit is contained in:
Le Tan 2017-03-17 21:04:51 +08:00
parent 88fd5b14a5
commit 844b644972

View File

@ -657,7 +657,7 @@ bool VMdEditOperations::handleKeyPressVim(QKeyEvent *p_event)
case Qt::Key_L: case Qt::Key_L:
{ {
if (modifiers == Qt::NoModifier) { if (modifiers == Qt::NoModifier) {
QTextCursor::MoveOperation op; QTextCursor::MoveOperation op = QTextCursor::Left;
switch (p_event->key()) { switch (p_event->key()) {
case Qt::Key_H: case Qt::Key_H:
op = QTextCursor::Left; op = QTextCursor::Left;