mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Use KFileItem::text() instead of KUrl::fileName() to display the entry's name in the metadata panel. This way Nepomuk results and all entries from KIO slaves that make use of UDS_DISPLAY_NAME look nice.
svn path=/trunk/KDE/kdebase/apps/; revision=1056260
This commit is contained in:
parent
a0a211f973
commit
bd47f7f978
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ void InformationPanelContent::showItem(const KFileItem& item)
|
|||
connect(job, SIGNAL(failed(const KFileItem&)),
|
||||
this, SLOT(showIcon(const KFileItem&)));
|
||||
|
||||
setNameLabelText(itemUrl.fileName());
|
||||
setNameLabelText(item.text());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue