┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2009-04-22 18:29:02 +0000
committerFrank Reininghaus <[email protected]>2009-04-22 18:29:02 +0000
commitcadfb2a3c621b875fa3df7ac629bf0b402ac3823 (patch)
tree5f53f981eb1ed4f848c78ff06e58c714b1039aff /src
parent9460609afa94b7e8885e0a99b2e344975cf8488e (diff)
Make it impossible to hide one of the views in a split view setup
completely by dragging the QSplitterHandle to the left or right. This fixes the problem that a hidden view disappears completely after closing the visible view. The root cause of this issue still seems to be unclear though. BUG: 190265 svn path=/trunk/KDE/kdebase/apps/; revision=957703
Diffstat (limited to 'src')
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index ba3ae2787..64aba63a5 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -348,6 +348,7 @@ void DolphinMainWindow::openNewTab(const KUrl& url)
ViewTab viewTab;
viewTab.splitter = new QSplitter(this);
+ viewTab.splitter->setChildrenCollapsible(false);
viewTab.primaryView = new DolphinViewContainer(this, viewTab.splitter, url);
viewTab.primaryView->setActive(false);
connectViewSignals(viewTab.primaryView);
@@ -981,6 +982,7 @@ void DolphinMainWindow::init()
setAcceptDrops(true);
m_viewTab[m_tabIndex].splitter = new QSplitter(this);
+ m_viewTab[m_tabIndex].splitter->setChildrenCollapsible(false);
setupActions();