]> cloud.milkyroute.net Git - dolphin.git/commitdiff
SVN_SILENT: Remove unused method
authorPeter Penz <peter.penz19@gmail.com>
Sat, 8 Jan 2011 23:11:34 +0000 (23:11 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Sat, 8 Jan 2011 23:11:34 +0000 (23:11 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=1212992

src/dolphinmainwindow.cpp
src/dolphinmainwindow.h

index 1e60bb98054e4ce24818b1b577146357a471e4da..fd4744b6eae384046b7a97359bb9bf7330297360 100644 (file)
@@ -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();
index db0d1992517ab45e8ce3c973ebde07a5d05f3016..9828a832d163454e89e48371eeffe25adeb68460 100644 (file)
@@ -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);