┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-06-19 16:35:52 +0000
committerPeter Penz <[email protected]>2007-06-19 16:35:52 +0000
commit5926d0fddd94d25a5546eee82a6dd8f072196b83 (patch)
tree84d7772c5aa8031702c8e69d090e8b74f8a159cb /src/dolphinmainwindow.cpp
parentd79282c14cc49fc774dbcccfcb6bdfedcac03870 (diff)
* fixed issue that some view properties like "show in groups" are ignored when a new DolphinViewContainer has been created (happens on startup or when a view is split)
* get rid of redundant parameter in constructors of DolphinView and DolphinViewContainer svn path=/trunk/KDE/kdebase/apps/; revision=677654
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 0accdfcaa..386e99944 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -769,9 +769,7 @@ void DolphinMainWindow::toggleSplitView()
const DolphinView* view = m_viewContainer[PrimaryView]->view();
m_viewContainer[SecondaryView] = new DolphinViewContainer(this,
0,
- view->rootUrl(),
- view->mode(),
- view->showHiddenFiles());
+ view->rootUrl());
connectViewSignals(SecondaryView);
m_splitter->addWidget(m_viewContainer[SecondaryView]);
m_splitter->setSizes(QList<int>() << newWidth << newWidth);
@@ -975,10 +973,8 @@ void DolphinMainWindow::init()
setCaption(homeUrl.fileName());
ViewProperties props(homeUrl);
m_viewContainer[PrimaryView] = new DolphinViewContainer(this,
- m_splitter,
- homeUrl,
- props.viewMode(),
- props.showHiddenFiles());
+ m_splitter,
+ homeUrl);
m_activeViewContainer = m_viewContainer[PrimaryView];
connectViewSignals(PrimaryView);