From 59ad852c02248857594301782449a168c5ecc627 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 17 Mar 2020 15:43:50 +0100 Subject: [PATCH] Qt 5.12, qhash --- wayland_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wayland_server.cpp b/wayland_server.cpp index fa53d3e82b..0ff9787c52 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -734,7 +734,7 @@ 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(); + const auto ids = m_clientIds.values().toSet(); #endif quint16 id = 1; if (!ids.isEmpty()) {