forked from qt-creator/qt-creator
Fix Krazy-warning about non-const ref iterator in fakevim.
Change-Id: I9b9ec78d75d3ea4e00f94b715995d65a7c75e674 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -6873,7 +6873,7 @@ void FakeVimHandler::Private::replay(const QString &command)
|
||||
{
|
||||
//qDebug() << "REPLAY: " << quoteUnprintable(command);
|
||||
Inputs inputs(command);
|
||||
foreach (Input in, inputs) {
|
||||
foreach (const Input &in, inputs) {
|
||||
if (handleDefaultKey(in) != EventHandled)
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user