Commit 7c49a0ae authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

[Task Manager] Fix a typo

The relevant comments talk about the IsOnVirtualDesktops role, but a
wrong data role is used instead (VirtualDesktops).
parent a4397bbf
......@@ -286,7 +286,7 @@ void WaylandTasksModel::Private::addWindow(KWayland::Client::PlasmaWindow *windo
// If the count has changed from 0, the window may no longer be on all virtual
// desktops.
if (window->plasmaVirtualDesktops().count() > 0) {
this->dataChanged(window, VirtualDesktops);
this->dataChanged(window, IsOnAllVirtualDesktops);
}
});
......@@ -295,7 +295,7 @@ void WaylandTasksModel::Private::addWindow(KWayland::Client::PlasmaWindow *windo
// If the count has changed to 0, the window is now on all virtual desktops.
if (window->plasmaVirtualDesktops().count() == 0) {
this->dataChanged(window, VirtualDesktops);
this->dataChanged(window, IsOnAllVirtualDesktops);
}
});
......
Supports Markdown
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