diff options
| author | Sebastian Trueg <[email protected]> | 2009-11-29 18:16:36 +0000 |
|---|---|---|
| committer | Sebastian Trueg <[email protected]> | 2009-11-29 18:16:36 +0000 |
| commit | bd47f7f9785943147d79041ada1f073b78cf718d (patch) | |
| tree | 11b7744cf83210ab624f47040b106f9c67c60397 /src/panels | |
| parent | a0a211f973a22a8acba3a284c3158a8030305c50 (diff) | |
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
Diffstat (limited to 'src/panels')
| -rw-r--r-- | src/panels/information/informationpanelcontent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index bd24e568d..889a0272f 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()); } } |
