From 2e40aef45245bcc14bef59c4b93998d7ae2b0195 Mon Sep 17 00:00:00 2001 From: Gleb Kasachou Date: Fri, 27 Jun 2025 10:47:21 +0300 Subject: Combine the zoom menu entries into one Line Replaced a KActionMenu that contained separate Zoom In, Zoom Out and Reset Zoom actions with a single QWidgetAction that provides the same functionality using three buttons arranged in a single line. Keyboard shortcuts for the three actions are preserved, and the actions still appear separately in the View submenu in the menubar. --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5b02a0f76..bf1ed0101 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -117,6 +117,7 @@ target_sources(dolphinprivate PRIVATE views/viewmodecontroller.cpp views/viewproperties.cpp views/zoomlevelinfo.cpp + views/zoomwidgetaction.cpp dolphinremoveaction.cpp middleclickactioneventfilter.cpp dolphinnewfilemenu.cpp @@ -170,6 +171,7 @@ target_sources(dolphinprivate PRIVATE views/viewmodecontroller.h views/viewproperties.h views/zoomlevelinfo.h + views/zoomwidgetaction.h dolphinremoveaction.h middleclickactioneventfilter.h dolphinnewfilemenu.h -- cgit v1.3.1