Skip to content

Fix replacing QString::left() with QString::at()

Heiko Becker requested to merge work/fix-replacing-left-with-at into release/22.04

41f55182 replaced QString::left(1) with QString::at(1) (instead of at(0)), which clearly isn't equivalent. Additionally we need to make sure that the string isn't empty.

Merge request reports