diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-12-15 10:49:47 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-12-15 12:05:26 +0000 |
commit | bece6fa0b9409918ce9c57c59d61537b304c9812 (patch) | |
tree | 3f45a8bf1dd30b63ee115ee29eb99a5b5ea0745b /.qmake.conf | |
parent | 482165057dfb1cc6ef4281e693dd8127aa0d6f6e (diff) |
QDockAreaLayout/QPlaceHolderItem: Store geometry excluding frame.
Previously, the geometry stored for floating dock widgets
in QPlaceHolderItem::topLevelRect and QDockAreaLayoutInfo::saveState()
included the window frame (frame position/content area size).
This does not work in the case where a floating dock widget is deleted
since the geometry is determined after reparenting the widget when the
frame geometry is no longer available. Change the behavior to store
the geometry excluding frame to avoid such problems and adapt
QDockWidgetPrivate::setWindowState() accordingly.
Task-number: QTBUG-49832
Task-number: QTBUG-45780
Change-Id: I84b5c80df6e1c9e738bbb1407b9047cc84719ce0
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions