diff options
| author | Akseli Lahtinen <[email protected]> | 2023-12-15 10:17:21 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-12-15 10:17:21 +0000 |
| commit | a5fb0524b575597a1e835f601e23bd2ceb9ce11b (patch) | |
| tree | ca6dd293c1c38f2c3fe26b41afd11e987c739002 /src/dolphindockwidget.cpp | |
| parent | 2aa5477ccfaf9aeb9e0d6241f62da94b08f363ea (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
Diffstat (limited to 'src/dolphindockwidget.cpp')
| -rw-r--r-- | src/dolphindockwidget.cpp | 2 |
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); |
