diff options
Diffstat (limited to 'tests/auto/gui/qopenglconfig/tst_qopenglconfig.cpp')
-rw-r--r-- | tests/auto/gui/qopenglconfig/tst_qopenglconfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/qopenglconfig/tst_qopenglconfig.cpp b/tests/auto/gui/qopenglconfig/tst_qopenglconfig.cpp index 48a15641b2..1cb7972cc6 100644 --- a/tests/auto/gui/qopenglconfig/tst_qopenglconfig.cpp +++ b/tests/auto/gui/qopenglconfig/tst_qopenglconfig.cpp @@ -288,7 +288,7 @@ void tst_QOpenGlConfig::testBugList() void tst_QOpenGlConfig::testDefaultWindowsBlacklist() { - if (qGuiApp->platformName() != QStringLiteral("windows")) + if (QGuiApplication::platformName().compare(QLatin1String("windows"), Qt::CaseInsensitive)) QSKIP("Only applicable to Windows"); QFile f(QStringLiteral(":/qt-project.org/windows/openglblacklists/default.json")); |