Commit 2a1c6774 authored by Eike Hein's avatar Eike Hein

Question resolved: Code unnecessary

parent a7b2ecdb
......@@ -246,19 +246,6 @@ void VirtualDesktopInfo::WaylandPrivate::init()
const QList<KWayland::Client::PlasmaVirtualDesktop *> &desktops = virtualDesktopManagement->desktops();
/* FIXME: PlasmaVirtualDesktopManagement doesn't have this ...?
QObject::connect(virtualDesktopManagement, &KWayland::Client::PlasmaVirtualDesktopManagement::interfaceAboutToBeReleased, q,
[this] {
virtualDesktops.clear();
emit numberOfDesktopsChanged();
emit currentDesktopChanged();
emit desktopIdsChanged();
emit desktopNamesChanged();
emit desktopLayoutRowsChanged();
}
);
*/
QObject::connect(virtualDesktopManagement, &KWayland::Client::PlasmaVirtualDesktopManagement::desktopCreated, q,
[this](const QString &id, quint32 position) {
addDesktop(id, position);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment