Commit 3e542824 authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by Nate Graham
Browse files

Desktop: Still show services with nodisplay=true set

When adding KCMs to the desktop, we add the entry with NoDisplay=true so that it does
not show up in a search. However before this commit, that would cause the entry to
not show up on the desktop as well.

Because of the filtering in the services runner, we already make sure that only relevant
entries can get added to the desktop in the first place.

BUG: 449243
FIXED-IN: 5.24.1
parent d2f948ec
Pipeline #135856 passed with stage
in 11 minutes and 18 seconds
......@@ -161,7 +161,7 @@ void DesktopProtocol::prepareUDSEntry(KIO::UDSEntry &entry, bool listing) const
if (!name.isEmpty())
entry.replace(KIO::UDSEntry::UDS_DISPLAY_NAME, name);
if (file.noDisplay() || !file.tryExec())
if (!file.tryExec())
entry.replace(KIO::UDSEntry::UDS_HIDDEN, 1);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment