nixpkgs/pkgs/kde/plasma/kglobalacceld/dont-delete-shortcuts.patch
K900 3e0c3437d6 kdePackages.kglobalacceld: hack around ksycoca breakage
This is not great, but at least it'll get people's systems more usable again.
2024-04-07 08:42:43 +03:00

15 lines
525 B
Diff

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());