From: Peter Penz Date: Sun, 12 Aug 2007 17:50:42 +0000 (+0000) Subject: removed "Toggle Views" context menu action (not required anymore as only the inactive... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/3cff59a75c44ef13dcaac4363448ffe132e7ffe7 removed "Toggle Views" context menu action (not required anymore as only the inactive view gets closed now) svn path=/trunk/KDE/kdebase/apps/; revision=699313 --- diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 140a4568e..821b315ef 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -238,11 +238,6 @@ void DolphinContextMenu::openViewportContextMenu() popup->addMenu(viewModeMenu); - QAction* toggleViewsAction = 0; - if (m_mainWindow->isSplit()) { - toggleViewsAction = popup->addAction(i18nc("@action:inmenu", "Toggle Views")); - } - popup->addSeparator(); QAction* bookmarkAction = popup->addAction(KIcon("bookmark-folder"), @@ -261,8 +256,6 @@ void DolphinContextMenu::openViewportContextMenu() if (url.isValid()) { DolphinSettings::instance().placesModel()->addPlace(url.fileName(), url); } - } else if ((toggleViewsAction != 0) && (action == toggleViewsAction)) { - m_mainWindow->toggleViews(); } popup->deleteLater();