diff options
| author | Sebastian Trueg <[email protected]> | 2008-04-17 11:58:08 +0000 |
|---|---|---|
| committer | Sebastian Trueg <[email protected]> | 2008-04-17 11:58:08 +0000 |
| commit | e90541c1af9576486f48fc78d4b0a922ec6316f4 (patch) | |
| tree | e288514b9e39a3d92422025afb5c2b15fe857b7c /src | |
| parent | fae6d10e7e6cb7a373f675798d2cdd97003cca5b (diff) | |
Use the display text for the info sidebar title instead of the filename.
svn path=/trunk/KDE/kdebase/apps/; revision=798076
Diffstat (limited to 'src')
| -rw-r--r-- | src/infosidebarpage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index a4c3d4157..9d5ce0f6a 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -261,7 +261,7 @@ void InfoSidebarPage::showItemInfo() connect(job, SIGNAL(failed(const KFileItem&)), this, SLOT(showIcon(const KFileItem&))); - m_nameLabel->setText(file.fileName()); + m_nameLabel->setText( !m_fileItem.isNull() && selectedItems.isEmpty() ? m_fileItem.text() : selectedItems[0].text() ); } showMetaInfo(); |
