Revert "Qt 5.12, qhash"

This reverts commit 59ad852c02.

Differential Revision: https://phabricator.kde.org/D29147
This commit is contained in:
Vlad Zahorodnii 2020-04-24 09:43:59 +03:00
parent c61b85f502
commit fdb14928f6

View file

@ -766,7 +766,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.values().toSet();
const auto ids = m_clientIds.toSet();
#endif
quint16 id = 1;
if (!ids.isEmpty()) {