mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
plasma: hide the launcher navigator when there are no applications to show
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
259cf8a828
commit
37d7961b62
1 changed files with 5 additions and 0 deletions
|
@ -676,6 +676,11 @@ void LauncherApplications::addGroup(KServiceGroup::Ptr servicegroup)
|
|||
this, SLOT(slotAppActivated())
|
||||
);
|
||||
}
|
||||
const QString serviceid = servicegroup->relPath();
|
||||
if (serviceid.isEmpty() || serviceid == QLatin1String("/")) {
|
||||
// hide the navigator when the root group is empty
|
||||
m_launchernavigator->setVisible(m_iconwidgets.size() > 0);
|
||||
}
|
||||
}
|
||||
|
||||
void LauncherApplications::slotNavigate(const QString &id)
|
||||
|
|
Loading…
Add table
Reference in a new issue