Commit 107bd427 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QStringView here

parent 6faf3393
Pipeline #60250 passed with stage
in 6 minutes and 37 seconds
...@@ -91,7 +91,7 @@ QString PlainTextMarkupBuilderPrivate::getRomanString(int item) ...@@ -91,7 +91,7 @@ QString PlainTextMarkupBuilderPrivate::getRomanString(int item)
numDigits = q; numDigits = q;
} }
romanNumeral.append(romanSymbols.midRef(startDigit, numDigits)); romanNumeral.append(QStringView(romanSymbols).mid(startDigit, numDigits));
} }
} }
result = romanNumeral; result = romanNumeral;
......
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