┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorSebastian Trueg <[email protected]>2010-01-14 18:14:10 +0000
committerSebastian Trueg <[email protected]>2010-01-14 18:14:10 +0000
commit313cacd4489ba4525409c6f1851bee8ff9829e83 (patch)
tree6e3698bc890b00f5a9fa2b4e44d196522da01aef /src/dolphinview.cpp
parentd3ee535749d0c61b0361601badb6f74473580ad1 (diff)
Use KFileItem::text() instead of name() for pretty printed filenames
svn path=/trunk/KDE/kdebase/apps/; revision=1074761
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index 688e8aa62..06e694f34 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -550,7 +550,7 @@ QString DolphinView::statusBarText() const
if (folderCount + fileCount == 1) {
// if only one item is selected, show the filename
- const QString name = list.first().name();
+ const QString name = list.first().text();
text = (folderCount == 1) ? i18nc("@info:status", "<filename>%1</filename> selected", name) :
i18nc("@info:status", "<filename>%1</filename> selected (%2)",
name, KIO::convertSize(totalFileSize));
@@ -881,7 +881,7 @@ bool DolphinView::eventFilter(QObject* watched, QEvent* event)
}
}
break;
-
+
default:
break;
}
@@ -1207,7 +1207,7 @@ void DolphinView::slotDirListerCompleted()
void DolphinView::slotLoadingCompleted()
{
m_expanderActive = false;
- m_loadingDirectory = false;
+ m_loadingDirectory = false;
if (!m_activeItemUrl.isEmpty()) {
// assure that the current item remains visible