From: Felix Ernst Date: Tue, 8 Jun 2021 11:48:41 +0000 (+0200) Subject: Add "Sort By" to the hamburger menu X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/5271943a25b50edcd430fd75750ae91e24002b46?ds=inline Add "Sort By" to the hamburger menu People seem to use the "Sort By" menu often enough that it should be available through the hamburger menu. Before this change one could only sort the view through the right- click context menu, using the details view mode or by using the actions from the menu bar. --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 428e16547..5595d0f5b 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1222,6 +1222,7 @@ void DolphinMainWindow::updateHamburgerMenu() menu->addAction(ac->action(QStringLiteral("view_mode"))); } menu->addAction(ac->action(QStringLiteral("show_hidden_files"))); + menu->addAction(ac->action(QStringLiteral("sort"))); menu->addAction(ac->action(QStringLiteral("additional_info"))); if (!GeneralSettings::showStatusBar() || !GeneralSettings::showZoomSlider()) { menu->addAction(ac->action(QStringLiteral("zoom")));