fix: Version Checker use case insensitive compare in place of toLower() call

This commit is contained in:
sithlord48
2025-01-02 21:33:38 -05:00
committed by Chris Rizzitello
parent 49622a24b2
commit 6f744d2278

View File

@ -85,7 +85,7 @@ int VersionChecker::getStageVersion(QString stage)
if (stage.isEmpty() || stage == stableName) {
return stableValue;
} else if (stage.toLower().startsWith(rcName)) {
} else if (stage.startsWith(rcName, Qt::CaseInsensitive)) {
static QRegularExpression re("\\d*", QRegularExpression::CaseInsensitiveOption);
auto match = re.match(stage);
if (match.hasMatch()) {