From f7e2c51198f00ff0f8e807590ed004c4fc65b6f0 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Thu, 6 Apr 2023 20:05:48 -0400 Subject: Allow popping out a split view If you have a split view open, you can now pop the active half out into a new window by clicking the "Pop out" button in the toolbar or by activating "View > Pop out". BUG: 270604 --- src/dolphinmainwindow.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index bff0ef4de..844360aaa 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -343,6 +343,13 @@ private Q_SLOTS: */ void toggleSplitView(); + /** + * Pops out a split view. + * The active view will be popped out, unless the view is not split, + * in which case nothing will happen. + */ + void popoutSplitView(); + /** Dedicated action to open the stash:/ ioslave in split view. */ void toggleSplitStash(); @@ -662,7 +669,7 @@ private: * otherwise the text is set to "Join". The icon * is updated to match with the text and the currently active view. */ - void updateSplitAction(); + void updateSplitActions(); /** * Sets the window sides the toolbar may be moved to based on toolbar contents. -- cgit v1.3