mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
FIx an obvious mistake, good catch MR Zappoman
This commit is contained in:
parent
86a569651c
commit
a4e75b4dcf
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ QJsonObject OpenGLVersionChecker::checkVersion(bool& valid, bool& override) {
|
|||
int majorNumber = 0;
|
||||
int minorNumber = 0;
|
||||
const QString version { "version" };
|
||||
if (version.contains(version)) {
|
||||
if (glData.contains(version)) {
|
||||
QString glVersion = glData[version].toString();
|
||||
QStringList versionParts = glVersion.split(QRegularExpression("[\\.\\s]"));
|
||||
if (versionParts.size() >= 2) {
|
||||
|
|
Loading…
Reference in a new issue