fix: Version Checker use case insensitive compare in place of toLower() call
This commit is contained in:
committed by
Chris Rizzitello
parent
49622a24b2
commit
6f744d2278
@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user