Qt 5.12, qhash

master
Aleix Pol 2020-03-17 15:43:50 +01:00
parent 9bd91e66cd
commit 59ad852c02
1 changed files with 1 additions and 1 deletions

View File

@ -734,7 +734,7 @@ quint16 WaylandServer::createClientId(ClientConnection *c)
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
const QSet<unsigned short> 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()) {