Revert "kdePackages.kglobalacceld: hack around ksycoca breakage"

This commit is contained in:
K900 2024-04-09 08:28:52 +03:00 committed by GitHub
parent 68e38f42b7
commit 8a71147d54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 19 deletions

View File

@ -1,9 +1,4 @@
{mkKdeDerivation}:
mkKdeDerivation {
pname = "kglobalacceld";
# Don't delete shortcuts when applications disappear from sycoca,
# because for us they sometimes do.
# FIXME: make them actually not do that instead.
patches = [./dont-delete-shortcuts.patch];
}

View File

@ -1,14 +0,0 @@
diff --git a/src/globalshortcutsregistry.cpp b/src/globalshortcutsregistry.cpp
index 3cbaded..9adcf38 100644
--- a/src/globalshortcutsregistry.cpp
+++ b/src/globalshortcutsregistry.cpp
@@ -909,7 +909,8 @@ void GlobalShortcutsRegistry::refreshServices()
return false;
}
- return true;
+ qCDebug(KGLOBALACCELD) << "NIXPKGS: component" << component->uniqueName() << "disappeared, keeping shortcuts anyway";
+ return false;
});
m_components.erase(it, m_components.end());