┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2026-05-10 07:41:07 +0000
committerMéven Car <[email protected]>2026-05-10 07:41:07 +0000
commitd052906e2d3d865fca242ce3fff7cefb779f0845 (patch)
treeac8eeb316b48e7ab98142a92a5e4595e091304f1 /src
parentbd680fa12b43698a7dfb76b8791aea5d2d9fd496 (diff)
Revert "zoomwidgetactions: allow the zoom actions to appear in the commandbar"
This reverts commit 980b09b92ae3061006526293c1e64bc399cdc07b
Diffstat (limited to 'src')
-rw-r--r--src/views/zoomwidgetaction.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/views/zoomwidgetaction.cpp b/src/views/zoomwidgetaction.cpp
index 2260d9754..431ac4f62 100644
--- a/src/views/zoomwidgetaction.cpp
+++ b/src/views/zoomwidgetaction.cpp
@@ -61,13 +61,9 @@ ZoomWidgetAction::ZoomWidgetAction(QAction *zoomInAction, QAction *zoomResetActi
{
// This is a property that KXMLGui reads to determine whether this action
// should be included in the shortcut configuration UI
- // they are already added to the action collection
setProperty("isShortcutConfigurable", false);
setPopupMode(InstantPopup);
popupMenu()->addActions({zoomInAction, zoomResetAction, zoomOutAction});
-
- // but this should be accessible through command bar
- setMenu(popupMenu());
}
bool ZoomWidgetAction::eventFilter(QObject *object, QEvent *event)