Commit 0b16a06c authored by Emmanuel Pescosta's avatar Emmanuel Pescosta

Fix Bug 279333 - Panels can be moved even if locked

BUG: 279333
FIXED-IN: 4.9.3
REVIEW: 107135
parent 634aab0c
...@@ -68,8 +68,12 @@ void DolphinDockWidget::setLocked(bool lock) ...@@ -68,8 +68,12 @@ void DolphinDockWidget::setLocked(bool lock)
m_dockTitleBar = new DolphinDockTitleBar(this); m_dockTitleBar = new DolphinDockTitleBar(this);
} }
setTitleBarWidget(m_dockTitleBar); setTitleBarWidget(m_dockTitleBar);
setFeatures(QDockWidget::NoDockWidgetFeatures);
} else { } else {
setTitleBarWidget(0); setTitleBarWidget(0);
setFeatures(QDockWidget::DockWidgetMovable |
QDockWidget::DockWidgetFloatable |
QDockWidget::DockWidgetClosable);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment