take the name of the VirtualDesktop instance

the name of the PlasmaVirtualDesktopInterface must be taken from
the VirtualDesktop instance, not from itself

BUG:403145
icc-effect-5.17.5
Marco Martin 2019-01-16 11:28:35 +01:00
parent 23dc03f734
commit f95a9618a7
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ void VirtualDesktopManager::setVirtualDesktopManagement(KWayland::Server::Plasma
VirtualDesktop *internalDesktop = desktopForX11Id(i);
PlasmaVirtualDesktopInterface *desktop = m_virtualDesktopManagement->createDesktop(internalDesktop->id());
desktop->setName(desktop->name());
desktop->setName(internalDesktop->name());
desktop->sendDone();
connect(desktop, &PlasmaVirtualDesktopInterface::activateRequested, this,