Skip to content

kconfigini: Fix assert where start is larger than currentGroup length

If start position is larger than the currentGroup, or the currentGroup and start are equal size, the currentGroup.at() will assert in Qt: https://doc.qt.io/qt-6/qstring.html#at

This makes sure we only check the character at valid position.

Merge request reports

Loading