[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-baseapps] dolphin/src/views: Fix outdated statusbar message when entering an empty folder
From:       Peter Penz <peter.penz19 () gmail ! com>
Date:       2012-04-11 20:22:04
Message-ID: 20120411202204.4D5EFA60A9 () git ! kde ! org
[Download RAW message or body]

Git commit 0b88a7cbbd7fef539616b1e615e17f366fde01c7 by Peter Penz.
Committed on 11/04/2012 at 22:20.
Pushed by ppenz into branch 'master'.

Fix outdated statusbar message when entering an empty folder

BUG: 291641
FIXED-IN: 4.9.0

M  +2    -0    dolphin/src/views/dolphinview.cpp

http://commits.kde.org/kde-baseapps/0b88a7cbbd7fef539616b1e615e17f366fde01c7

diff --git a/dolphin/src/views/dolphinview.cpp b/dolphin/src/views/dolphinview.cpp
index 3fbe56e..daf6aca 100644
--- a/dolphin/src/views/dolphinview.cpp
+++ b/dolphin/src/views/dolphinview.cpp
@@ -536,6 +536,8 @@ QString DolphinView::statusBarText() const
                         KGlobal::locale()->formatByteSize(totalFileSize));
     } else if (folderCount > 0) {
         summary = foldersText;
+    } else {
+        summary = i18nc("@info:status", "0 Folders, 0 Files");
     }
 
     return summary;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic