From bd47f7f9785943147d79041ada1f073b78cf718d Mon Sep 17 00:00:00 2001 From: Sebastian Trueg Date: Sun, 29 Nov 2009 18:16:36 +0000 Subject: [PATCH] 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 --- src/panels/information/informationpanelcontent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index bd24e568d2..889a0272fa 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -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()); } }