Revert "kdePackages.kglobalacceld: hack around ksycoca breakage"

authored by K900 and committed by GitHub 8a71147d 68e38f42

-19
-5
pkgs/kde/plasma/kglobalacceld/default.nix
··· 1 {mkKdeDerivation}: 2 mkKdeDerivation { 3 pname = "kglobalacceld"; 4 - 5 - # Don't delete shortcuts when applications disappear from sycoca, 6 - # because for us they sometimes do. 7 - # FIXME: make them actually not do that instead. 8 - patches = [./dont-delete-shortcuts.patch]; 9 }
··· 1 {mkKdeDerivation}: 2 mkKdeDerivation { 3 pname = "kglobalacceld"; 4 }
-14
pkgs/kde/plasma/kglobalacceld/dont-delete-shortcuts.patch
··· 1 - diff --git a/src/globalshortcutsregistry.cpp b/src/globalshortcutsregistry.cpp 2 - index 3cbaded..9adcf38 100644 3 - --- a/src/globalshortcutsregistry.cpp 4 - +++ b/src/globalshortcutsregistry.cpp 5 - @@ -909,7 +909,8 @@ void GlobalShortcutsRegistry::refreshServices() 6 - return false; 7 - } 8 - 9 - - return true; 10 - + qCDebug(KGLOBALACCELD) << "NIXPKGS: component" << component->uniqueName() << "disappeared, keeping shortcuts anyway"; 11 - + return false; 12 - }); 13 - 14 - m_components.erase(it, m_components.end());
···