diff --git a/src/utils/SemanticVersion.h b/src/utils/SemanticVersion.h index 02ece73..0bcf033 100644 --- a/src/utils/SemanticVersion.h +++ b/src/utils/SemanticVersion.h @@ -64,8 +64,8 @@ struct SemanticVersion static SemanticVersion fromString(const QString &ver) { SemanticVersion version; - if (ver.contains("Beta")) { - QRegularExpression verRe("Beta-(?\\d+)"); + if (ver.contains("beta")) { + QRegularExpression verRe("beta-(?\\d+)"); QRegularExpressionMatch match = verRe.match(ver); version.minor = match.captured("minor").toInt(); return version;