From: Peter Penz Date: Sat, 8 Jan 2011 23:11:34 +0000 (+0000) Subject: SVN_SILENT: Remove unused method X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/eaf7c9ab2b1df364b253799c9792f6720b3f11e7 SVN_SILENT: Remove unused method svn path=/trunk/KDE/kdebase/apps/; revision=1212992 --- 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& 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);