From c8c1b056618f452b11a0016990eee2e05b5dc898 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 15 Jul 2022 13:06:16 +0200 Subject: [PATCH] Remove unnecessary constructor --- src/wayland_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland_server.cpp b/src/wayland_server.cpp index 539d2a8903..b0aabdabf9 100644 --- a/src/wayland_server.cpp +++ b/src/wayland_server.cpp @@ -171,7 +171,7 @@ public: if (!requestedInterfaces.toStringList().contains(QString::fromUtf8(interfaceName))) { if (KWIN_CORE().isDebugEnabled()) { const QString id = client->executablePath() + QLatin1Char('|') + QString::fromUtf8(interfaceName); - if (!m_reported.contains({id})) { + if (!m_reported.contains(id)) { m_reported.insert(id); qCDebug(KWIN_CORE) << "Interface" << interfaceName << "not in X-KDE-Wayland-Interfaces of" << client->executablePath(); }