┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dolphinmainwindow.cpp15
-rw-r--r--src/dolphinmainwindow.h8
2 files changed, 0 insertions, 23 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 1e60bb980..fd4744b6e 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -218,21 +218,6 @@ void DolphinMainWindow::openFiles(const QList<KUrl>& files)
}
}
-void DolphinMainWindow::toggleViews()
-{
- if (m_viewTab[m_tabIndex].secondaryView == 0) {
- return;
- }
-
- // move secondary view from the last position of the splitter
- // to the first position
- m_viewTab[m_tabIndex].splitter->insertWidget(0, m_viewTab[m_tabIndex].secondaryView);
-
- DolphinViewContainer* container = m_viewTab[m_tabIndex].primaryView;
- m_viewTab[m_tabIndex].primaryView = m_viewTab[m_tabIndex].secondaryView;
- m_viewTab[m_tabIndex].secondaryView = container;
-}
-
void DolphinMainWindow::showCommand(CommandType command)
{
DolphinStatusBar* statusBar = m_activeViewContainer->statusBar();
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index db0d19925..9828a832d 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -93,14 +93,6 @@ public:
*/
bool isSplit() const;
- /**
- * If the main window contains two instances of a view container
- * (DolphinMainWindow::isSplit() returns true), then the
- * two views get toggled (the right view is on the left, the left
- * view on the right).
- */
- void toggleViews();
-
/** Renames the item represented by \a oldUrl to \a newUrl. */
void rename(const KUrl& oldUrl, const KUrl& newUrl);