mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
generic: handle ksycoca resource updates of xdgdata-apps type
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
fd7ee4b390
commit
2cb40f7827
2 changed files with 2 additions and 2 deletions
|
@ -734,7 +734,7 @@ void GroupManager::removeLauncher(const KUrl &url)
|
|||
|
||||
void GroupManagerPrivate::sycocaChanged(const QStringList &types)
|
||||
{
|
||||
if (types.contains("apps")) {
|
||||
if (types.contains("apps") || types.contains("xdgdata-apps")) {
|
||||
KUrl::List removals;
|
||||
foreach (LauncherItem *launcher, launchers) {
|
||||
if (!QFile::exists(launcher->launcherUrl().toLocalFile())) {
|
||||
|
|
|
@ -118,7 +118,7 @@ void IconApplet::saveState(KConfigGroup &cg) const
|
|||
|
||||
void IconApplet::checkService(const QStringList &changedResources)
|
||||
{
|
||||
if (changedResources.contains("apps")) {
|
||||
if (changedResources.contains("apps") || changedResources.contains("xdgdata-apps")) {
|
||||
setUrl(m_url);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue