Skip to content
Commit d5876529 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Do not use QStringView of a temporary

QString::mid() return a temporary QString. QStringView doesn't actually
hold any reference to data, so the temporary gets deleted somewhere
after we create the string view, which makes the string view invalid. So
instead, use QStringRef here for which there is a separate method.
parent 74f02648
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