From 9e5926147606737a87cf17535db1ecbfd2c9a2c5 Mon Sep 17 00:00:00 2001 From: Rafał Lichwała Date: Sat, 29 Nov 2025 13:32:30 +0100 Subject: folderstabssettingspage: add 3 options for closing split view There is one bool setting in Dolphin Interface->Folders&Tabs->Split_view which determines which panel is closed on "Close split view" button click (currently focused or unfocused one). This commit replaces this setting with (enum-based) 3-state combo box. Since now we can set "When closing a split view" action to: - Close the active pane - Close the inactive pane - Close the right pane BUG: 464696 BUG: 186185 --- src/settings/interface/folderstabssettingspage.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/settings/interface/folderstabssettingspage.h') diff --git a/src/settings/interface/folderstabssettingspage.h b/src/settings/interface/folderstabssettingspage.h index 89e5c0982..ae104cc7e 100644 --- a/src/settings/interface/folderstabssettingspage.h +++ b/src/settings/interface/folderstabssettingspage.h @@ -13,6 +13,7 @@ #include class QCheckBox; +class QComboBox; class QLineEdit; class QLabel; class QRadioButton; @@ -63,7 +64,8 @@ private: QCheckBox *m_showFullPathInTitlebar; QCheckBox *m_openExternallyCalledFolderInNewTab; QCheckBox *m_useTabForSplitViewSwitch; - QCheckBox *m_closeActiveSplitView; + + QComboBox *m_closeSplitComboBox; }; #endif -- cgit v1.3