Fixing z-ordering of windows
authorKevin Krammer <kevin.krammer.qnx@kdab.com>
Wed, 29 Feb 2012 13:00:14 +0000 (14:00 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 2 Mar 2012 21:51:19 +0000 (22:51 +0100)
commitbde025168953f2093c2b957ca978be90e8602de4
treedf708c2557e4ca6b1f239bc033de07db3998d201
parentf52634f4f41243105d0ac3ade3558c1bbff014c7
Fixing z-ordering of windows

The application root window is at z-order == 0, all platform windows created
for Qt windows are its descendants, so their base value for z-order needs
to be 1.

Backport of qtbase 117bdad3f270a4c0589cff332a7a8e904263de08

Change-Id: Ic1fb91c30559177bc094a5db96e4088860a8d6ac
Reviewed-by: Sean Harmer <sh@theharmers.co.uk>
Reviewed-by: Nick Ratelle <nratelle@qnx.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/plugins/platforms/blackberry/qbbscreen.cpp