From a848490caee8a7e9d8061892271fb40ccd9aef15 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 24 Apr 2020 09:44:09 +0300 Subject: [PATCH] Revert "More for Qt 5.12" This reverts commit 3e9f33bb3e58f03d200a628e48e9ca745628502e. Differential Revision: https://phabricator.kde.org/D29147 --- libkwineffects/kwinglplatform.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libkwineffects/kwinglplatform.cpp b/libkwineffects/kwinglplatform.cpp index 3373f9cdb2..53dc3a74ef 100644 --- a/libkwineffects/kwinglplatform.cpp +++ b/libkwineffects/kwinglplatform.cpp @@ -686,12 +686,8 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface) } } else { const QByteArray extensions = (const char *) glGetString(GL_EXTENSIONS); -#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)) - const QList extensionsList = extensions.split(' '); + QList extensionsList = extensions.split(' '); m_extensions = {extensionsList.constBegin(), extensionsList.constEnd()}; -#else - m_extensions = extensions.split(' ').toSet(); -#endif } // Parse the Mesa version