diff --git a/src/runtime/globalshortcutsregistry.cpp b/src/runtime/globalshortcutsregistry.cpp --- a/src/runtime/globalshortcutsregistry.cpp +++ b/src/runtime/globalshortcutsregistry.cpp @@ -326,7 +326,7 @@ } KDesktopFile f(dir.filePath(desktopFile)); - if (f.noDisplay()) { + if (f.desktopGroup().readEntry("X-KDE-NoGlobalShortcut", false)) { continue; } diff --git a/src/runtime/kserviceactioncomponent.cpp b/src/runtime/kserviceactioncomponent.cpp --- a/src/runtime/kserviceactioncomponent.cpp +++ b/src/runtime/kserviceactioncomponent.cpp @@ -141,7 +141,7 @@ shortcut->setIsPresent(false); } - m_desktopFile.desktopGroup().writeEntry("NoDisplay", true); + m_desktopFile.desktopGroup().writeEntry("X-KDE-NoGlobalShortcut", true); m_desktopFile.desktopGroup().sync(); return Component::cleanUp();