Revert "Qt 5.12, qhash"
This reverts commit 59ad852c02
.
Differential Revision: https://phabricator.kde.org/D29147
This commit is contained in:
parent
c61b85f502
commit
fdb14928f6
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ quint16 WaylandServer::createClientId(ClientConnection *c)
|
||||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
|
||||||
const QSet<unsigned short> ids(m_clientIds.constBegin(), m_clientIds.constEnd());
|
const QSet<unsigned short> ids(m_clientIds.constBegin(), m_clientIds.constEnd());
|
||||||
#else
|
#else
|
||||||
const auto ids = m_clientIds.values().toSet();
|
const auto ids = m_clientIds.toSet();
|
||||||
#endif
|
#endif
|
||||||
quint16 id = 1;
|
quint16 id = 1;
|
||||||
if (!ids.isEmpty()) {
|
if (!ids.isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue