diff options
| author | Fabio D'Urso <[email protected]> | 2013-08-15 19:04:16 +0200 |
|---|---|---|
| committer | Fabio D'Urso <[email protected]> | 2013-08-18 22:16:30 +0200 |
| commit | 55bf917361f6b564c0b2fa84f748e1728d8e73b2 (patch) | |
| tree | 9be9da9f1180a4962c0c043b0bc0e60d7cc08fee /src/dolphinviewcontainer.cpp | |
| parent | bfb10355c9d9be2224057c402e04c9c4e58a9995 (diff) | |
dolphin: Show full KFileItem statusbar text with hovered folders too
This patch changes the status bar text dolphin shows when a folder is
hovered. It now shows full folder info, eg:
"mydir (folder, symlink to /opt/mydir")
instead of:
"mydir"
This is consistent with dolphin's behavior on regular files, and
DolphinPart already does that (DolphinPart::slotRequestItemInfo has no
special cases for folders).
CCBUG: 260717
REVIEW: 112106
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 1e9e79ae7..3ea81e4ba 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -506,8 +506,7 @@ void DolphinViewContainer::showItemInfo(const KFileItem& item) if (item.isNull()) { m_statusBar->resetToDefaultText(); } else { - const QString text = item.isDir() ? item.text() : item.getStatusBarInfo(); - m_statusBar->setText(text); + m_statusBar->setText(item.getStatusBarInfo()); } } |
