┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/views')
-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)