┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkseli Lahtinen <[email protected]>2023-12-15 10:17:21 +0000
committerMéven Car <[email protected]>2023-12-15 10:17:21 +0000
commita5fb0524b575597a1e835f601e23bd2ceb9ce11b (patch)
treeca6dd293c1c38f2c3fe26b41afd11e987c739002
parent2aa5477ccfaf9aeb9e0d6241f62da94b08f363ea (diff)
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
-rw-r--r--src/dolphindockwidget.cpp2
1 files changed, 1 insertions, 1 deletions
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);