Commit a6403d17 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Port QStrinRef (deprected) to QStringView

KF6 task: https://phabricator.kde.org/T13913
parent 09b635de
......@@ -355,7 +355,7 @@ KFind::Result KFind::find()
}
if (d->pattern.length() < d->matchedPattern.length()) {
d->pattern += d->matchedPattern.midRef(d->pattern.length(), 1);
d->pattern += QStringView(d->matchedPattern).mid(d->pattern.length(), 1);
done = false;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment