From 830dd0148a26d91ba7f3e0316da1e021fe2b83e4 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 29 Nov 2023 22:14:06 -0500 Subject: 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. --- src/dolphinmainwindow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dolphinmainwindow.h') 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; -- cgit v1.3