Commit 3a8ef4cf authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[KEditFileType] Show application icon in preference list

Makes the list a lot easier to grasp at a glance

Differential Revision:
parent d95c4efc
......@@ -46,6 +46,8 @@ KServiceListItem::KServiceListItem( const KService::Ptr& pService, int kind )
setText( i18n( "%1 (%2)", pService->name(), pService->desktopEntryName() ) );
setIcon( QIcon::fromTheme( pService->icon() ) );
if (!pService->isApplication())
localPath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/kservices5/") + desktopPath;
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