forked from qt-creator/qt-creator
Fix build issues with Qt6
Change from QStringRef to QStringView at various places. Task-number: QTCREATORBUG-24098 Change-Id: Ia7a634fa26464fbb2962724d5f0e188cecc68801 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -5551,7 +5551,7 @@ bool FakeVimHandler::Private::handleExSubstituteCommand(const ExCommand &cmd)
|
||||
if (cmd.cmd.isEmpty()) {
|
||||
// keep previous substitution flags on '&&' and '~&'
|
||||
if (line.size() > 1 && line[1] == '&')
|
||||
g.lastSubstituteFlags += line.midRef(2);
|
||||
g.lastSubstituteFlags += line.mid(2);
|
||||
else
|
||||
g.lastSubstituteFlags = line.mid(1);
|
||||
if (line[0] == '~')
|
||||
|
||||
Reference in New Issue
Block a user