From: Akseli Lahtinen Date: Fri, 15 Dec 2023 10:17:21 +0000 (+0000) Subject: Set dockAction enabled according to settings X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/a5fb0524b575597a1e835f601e23bd2ceb9ce11b?ds=inline 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 --- 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);