┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-01-07 07:38:09 +0000
committerPeter Penz <[email protected]>2008-01-07 07:38:09 +0000
commit0e58c734c16a0de5981d7a0dc40cb9bd1cd91ae2 (patch)
tree958cf123e3ef1a7417659d19f56e51124a8297fc /src/dolphinmainwindow.cpp
parentdf94e72262e2312f2e39a605c0f2efa1a5196266 (diff)
Backport of bugfix 154434 (trunk revision 757791): Remember the additional-info property (size, date, type, ...) for each view mode (icons view, details view, column view) individually.
svn path=/branches/KDE/4.0/kdebase/apps/; revision=758210
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 02e99c472..e40166e99 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -273,9 +273,8 @@ void DolphinMainWindow::slotAdditionalInfoChanged(KFileItemDelegate::Information
const DolphinView* view = m_activeViewContainer->view();
- const IconsModeSettings* settings = DolphinSettings::instance().iconsModeSettings();
const bool enable = (view->mode() == DolphinView::DetailsView) ||
- ((view->mode() == DolphinView::IconsView) && settings->showAdditionalInfo());
+ (view->mode() == DolphinView::IconsView);
showSizeInfo->setEnabled(enable);
showDateInfo->setEnabled(enable);