diff options
| author | Peter Penz <[email protected]> | 2012-02-03 22:31:02 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-02-03 22:32:39 +0100 |
| commit | 7bbdb66618625c2db58b0fce1999c433dc946dc5 (patch) | |
| tree | 0cb3015864df150c737f46e347e926f7e752c0bb /src/dolphinviewcontainer.cpp | |
| parent | 3188ef05b26e9b150678fef83e64dceb86f2c3fe (diff) | |
Show file size when hovering an item
BUG: 292687
FIXED-IN: 4.8.1
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 9809fbaf5..28bf5250c 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -430,12 +430,7 @@ void DolphinViewContainer::showItemInfo(const KFileItem& item) m_statusBar->clear(); } } else { - QString message; - if (item.isDir()) { - message = item.text(); - } else { - message = i18nc("@info:status filename (type)", "%1 (%2)", item.text(), item.mimeComment()); - } + const QString message = item.isDir() ? item.text() : item.getStatusBarInfo(); m_statusBar->setMessage(message, DolphinStatusBar::Default); } } |
