From 5b947c6458caa27d5e46bd19228071af7d576b4c Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 24 Apr 2020 09:45:06 +0300 Subject: [PATCH] Revert "Allow building with Qt 5.12" This reverts commit 54c6acadf2d46518d77bb1c44c6710970c9b1500. Differential Revision: https://phabricator.kde.org/D29147 --- wayland_server.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wayland_server.cpp b/wayland_server.cpp index 73142f6c3c..495b4e89cb 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -763,11 +763,7 @@ quint32 WaylandServer::createWindowId(SurfaceInterface *surface) quint16 WaylandServer::createClientId(ClientConnection *c) { -#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)) const QSet ids(m_clientIds.constBegin(), m_clientIds.constEnd()); -#else - const auto ids = m_clientIds.toSet(); -#endif quint16 id = 1; if (!ids.isEmpty()) { for (quint16 i = ids.count() + 1; i >= 1 ; i--) {