diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2012-08-08 13:48:29 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-09 13:17:39 +0200 |
commit | 2ccd34fd20b72a1cd4125d67dd206d4f968a1b5d (patch) | |
tree | 8da02e7c5d0bf7b1a51a2da62940a315efdbcdd8 /tests | |
parent | 5c6382099285768d441a589db392aa3b0c795517 (diff) |
Use native handles for parent change check in QWindowsWindow.
QWindow::setParent() sets the parent to zero instead of the desired
parent, if platform window has not yet been created for the parent.
This caused QWindowsWindow::setParent() to skip setting the parent
later, when correct window was specified, as the QWindow parent-child
relationship hadn't changed. Fixed by changing the the check to use
native handles instead.
Task-number: QTBUG-26791
Change-Id: I292a1ddf746583a7268f2d07c20166995c0dd7d6
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions