path: root/src/plugins/platforms
diff options
authorFriedemann Kleint <>2015-12-15 10:49:47 +0100
committerFriedemann Kleint <>2015-12-15 12:05:26 +0000
commitbece6fa0b9409918ce9c57c59d61537b304c9812 (patch)
tree3f45a8bf1dd30b63ee115ee29eb99a5b5ea0745b /src/plugins/platforms
parent482165057dfb1cc6ef4281e693dd8127aa0d6f6e (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) <>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions