From a5fb0524b575597a1e835f601e23bd2ceb9ce11b Mon Sep 17 00:00:00 2001 From: Akseli Lahtinen Date: Fri, 15 Dec 2023 10:17:21 +0000 Subject: [PATCH] Set dockAction enabled according to settings Panels are unlocked even they're set locked in settings at start of the app. This sets panels locked according to the setting. BUG:478117 --- src/dolphindockwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphindockwidget.cpp b/src/dolphindockwidget.cpp index e6e9b744a..930c38e35 100644 --- a/src/dolphindockwidget.cpp +++ b/src/dolphindockwidget.cpp @@ -64,7 +64,7 @@ void DolphinDockWidget::setLocked(bool lock) m_dockTitleBar = new DolphinDockTitleBar(this); } setTitleBarWidget(m_dockTitleBar); - setFeatures(QDockWidget::NoDockWidgetFeatures); + setFeatures(QDockWidget::DockWidgetClosable); } else { setTitleBarWidget(nullptr); setFeatures(DefaultDockWidgetFeatures); -- 2.47.3