diff options
| author | Emmanuel Pescosta <[email protected]> | 2012-10-30 23:10:43 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2012-10-30 23:10:43 +0100 |
| commit | b4998a7cd4d5a09ca5ccf15c99bd642ae6bb8571 (patch) | |
| tree | ee842df4ed56d5b882ffdf32f5ee559d138d0a2d /src/dolphindockwidget.cpp | |
| parent | 37a54c053e4712ffc9fc39fb0d8809f70c6bf9a9 (diff) | |
Fix Bug 279333 - Panels can be moved even if locked
BUG: 279333
FIXED-IN: 4.9.3
REVIEW: 107135
Diffstat (limited to 'src/dolphindockwidget.cpp')
| -rw-r--r-- | src/dolphindockwidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dolphindockwidget.cpp b/src/dolphindockwidget.cpp index 72e06a656..0d8aea7bd 100644 --- a/src/dolphindockwidget.cpp +++ b/src/dolphindockwidget.cpp @@ -68,8 +68,12 @@ void DolphinDockWidget::setLocked(bool lock) m_dockTitleBar = new DolphinDockTitleBar(this); } setTitleBarWidget(m_dockTitleBar); + setFeatures(QDockWidget::NoDockWidgetFeatures); } else { setTitleBarWidget(0); + setFeatures(QDockWidget::DockWidgetMovable | + QDockWidget::DockWidgetFloatable | + QDockWidget::DockWidgetClosable); } } } |
