mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
eliminate the compiler warning on Linux
This commit is contained in:
parent
88fd5b14a5
commit
844b644972
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user