diff options
author | Sergio Martins <sergio.martins@kdab.com> | 2017-01-09 22:42:30 +0000 |
---|---|---|
committer | Sérgio Martins <sergio.martins@kdab.com> | 2017-01-26 16:13:32 +0000 |
commit | 0feeb6f6d2cfaa964763ca1fcab65672812b4eef (patch) | |
tree | e45398a03cb35c75b241192bac8509bd4db8a1d7 /mkspecs | |
parent | 52d9fd74b13e7c730cd3f353bfbc7a64b15e9038 (diff) |
Fix dock widget having the wrong parent after a drag
When dragging a dock widget from a floating group to the main window
reparentWidgets() is supposed to be called. It's usually triggered
by some unrelated event, like a LayoutRequest.
Instead of relying on luck for reparentWidgets() to get called be
explicit, otherwise the dock widget that was dropped into main window
will still have as parent the floating group window.
The item.skip() condition seems overly restrictive.
Task-number: QTBUG-58036
Change-Id: I65b5699e1acb6ca9bedb10620daa055fa9d91943
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions