When reparenting a widget, children need to reregister as a drop site
authorAndy Shaw <andy.shaw@digia.com>
Thu, 14 Nov 2013 13:57:50 +0000 (14:57 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 15 Nov 2013 11:42:27 +0000 (12:42 +0100)
commita9edbeddafe5d8866192de44f4028d07bd93013a
treed3bad3999de6a3f0ba6e6f3df0ef36ce8d6b9075
parent92a4fcff80cf7a2e3a71c0ff8a2a378866b79739
When reparenting a widget, children need to reregister as a drop site

If a widget is a drop site and an ancestor gets reparented then the
widget needs to be reregistered as a drop site so that it is correctly
associated with the new native parent widget.

Task-number: QTBUG-30276

Change-Id: I440077e54f614d0bfbaef46104de6598411c986b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/gui/kernel/qwidget_win.cpp