forked from qt-creator/qt-creator
Fix warning: "Missing emit keyword on signal call"
[-Wclazy-incorrect-emit] Change-Id: I93bdc6e23cdaccf35c9899ae16870ccc65a54f80 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -796,7 +796,7 @@ void FakeVimExCommandsWidget::defaultAction()
|
||||
setModified(item, false);
|
||||
item->setText(2, regex);
|
||||
if (item == commandList()->currentItem())
|
||||
currentCommandChanged(item);
|
||||
emit currentCommandChanged(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1933,7 +1933,7 @@ void FakeVimPluginPrivate::handleExCommand(FakeVimHandler *handler, bool *handle
|
||||
handler->showMessage(MessageInfo, Tr::tr("\"%1\" %2 %3L, %4C written")
|
||||
.arg(fileName).arg(' ').arg(ba.count('\n')).arg(ba.size()));
|
||||
if (cmd.cmd == "wq")
|
||||
delayedQuitRequested(cmd.hasBang, m_editorToHandler.key(handler));
|
||||
emit delayedQuitRequested(cmd.hasBang, m_editorToHandler.key(handler));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user