┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorJoshua Goins <[email protected]>2023-11-29 22:14:06 -0500
committerLoren Burkholder <[email protected]>2024-01-18 23:29:23 +0000
commit830dd0148a26d91ba7f3e0316da1e021fe2b83e4 (patch)
treefb88c9a92617518b692eea8fa5e1283118e5d1e2 /src/dolphinmainwindow.h
parent31fc08fe7ff06d8660624a360a52c7f9af2854a4 (diff)
Use a separate menu action for split view action
Now that it's a KMenuAction, it becomes impossible to trigger the root action when it's in a menu. To work around this, we create a new action that mirrors the state of the original. It also takes the default shortcut.
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index 7360fffbf..62f8ceb6e 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -737,6 +737,7 @@ private:
KToolBarPopupAction *m_backAction;
KToolBarPopupAction *m_forwardAction;
KActionMenu *m_splitViewAction;
+ QAction *m_splitViewMenuAction;
QMenu m_searchTools;
KFileItemActions m_fileItemActions;