diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index df8ceb6c..593582b0 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -322,7 +322,6 @@ void MainWindow::updateActions()
bool showingTreemap = _ui->treemapView->isVisible();
- _ui->actionTreemapAsSidePanel->setEnabled( showingTreemap );
_ui->actionTreemapZoomIn->setEnabled ( showingTreemap && _ui->treemapView->canZoomIn() );
_ui->actionTreemapZoomOut->setEnabled ( showingTreemap && _ui->treemapView->canZoomOut() );
_ui->actionResetTreemapZoom->setEnabled( showingTreemap && _ui->treemapView->canZoomOut() );
@@ -339,7 +338,6 @@ void MainWindow::readSettings()
_statusBarTimeout = settings.value( "StatusBarTimeoutMillisec", 3000 ).toInt();
bool showTreemap = settings.value( "ShowTreemap" , true ).toBool();
- bool treemapOnSide = settings.value( "TreemapOnSide" , false ).toBool();
_verboseSelection = settings.value( "VerboseSelection" , false ).toBool();
_urlInWindowTitle = settings.value( "UrlInWindowTitle" , false ).toBool();
@@ -354,9 +352,6 @@ void MainWindow::readSettings()
settings.endGroup();
_ui->actionShowTreemap->setChecked( showTreemap );
- _ui->actionTreemapAsSidePanel->setChecked( treemapOnSide );
- treemapAsSidePanel();
-
_ui->actionVerboseSelection->setChecked( _verboseSelection );
foreach ( QAction * action, _layoutActionGroup->actions() )
@@ -395,7 +390,6 @@ void MainWindow::writeSettings()
settings.beginGroup( "MainWindow" );
settings.setValue( "ShowTreemap" , _ui->actionShowTreemap->isChecked() );
- settings.setValue( "TreemapOnSide" , _ui->actionTreemapAsSidePanel->isChecked() );
settings.setValue( "VerboseSelection", _verboseSelection );
settings.setValue( "Layout" , _layoutName );
@@ -428,15 +422,6 @@ void MainWindow::showTreemapView()
}
-void MainWindow::treemapAsSidePanel()
-{
- if ( _ui->actionTreemapAsSidePanel->isChecked() )
- _ui->mainWinSplitter->setOrientation( Qt::Horizontal );
- else
- _ui->mainWinSplitter->setOrientation( Qt::Vertical );
-}
-
-
void MainWindow::busyDisplay()
{
_ui->treemapView->disable();
diff --git a/src/MainWindow.h b/src/MainWindow.h
index 598c5403..c32ebb23 100644
--- a/src/MainWindow.h
+++ b/src/MainWindow.h
@@ -281,12 +281,6 @@ protected slots:
**/
void showTreemapView();
- /**
- * Switch between showing the treemap view beside the file directory
- * or below it, depending on the corresponding action.
- **/
- void treemapAsSidePanel();
-
/**
* Notification that a cleanup action was started.
**/
diff --git a/src/MainWindowMenus.cpp b/src/MainWindowMenus.cpp
index d24df0f5..228b0336 100644
--- a/src/MainWindowMenus.cpp
+++ b/src/MainWindowMenus.cpp
@@ -143,9 +143,6 @@ void MainWindow::connectViewTreemapMenu()
connect( _ui->actionShowTreemap, SIGNAL( toggled( bool ) ),
this, SLOT ( showTreemapView() ) );
- connect( _ui->actionTreemapAsSidePanel, SIGNAL( toggled( bool ) ),
- this, SLOT ( treemapAsSidePanel() ) );
-
CONNECT_ACTION( _ui->actionTreemapZoomIn, _ui->treemapView, zoomIn() );
CONNECT_ACTION( _ui->actionTreemapZoomOut, _ui->treemapView, zoomOut() );
CONNECT_ACTION( _ui->actionResetTreemapZoom, _ui->treemapView, resetZoom() );
diff --git a/src/main-window.ui b/src/main-window.ui
index eea65843..38a20715 100644
--- a/src/main-window.ui
+++ b/src/main-window.ui
@@ -155,8 +155,8 @@
0
0
- 88
- 282
+ 63
+ 296
@@ -173,7 +173,7 @@
0
0
1157
- 27
+ 22