Revert "Allow building with Qt 5.12"
This reverts commit 54c6acadf2
.
Differential Revision: https://phabricator.kde.org/D29147
This commit is contained in:
parent
a848490cae
commit
5b947c6458
1 changed files with 0 additions and 4 deletions
|
@ -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<unsigned short> 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--) {
|
||||
|
|
Loading…
Reference in a new issue