Skip to content

Port to QStringView

Ahmad Samir requested to merge work/ahmad/qstringref into master

QXmlStreamAttributes::value() returns QStringRef in Qt5 and QStringView in Qt6, so using "auto" works a treat here.

Something similar goes with QStringList::contains(), since it has a QStringView overload, it works with QStringRef and QStringView.

Merge request reports