Cocoa: p1 bug fix: fix auto test regressions
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>
Thu, 7 Apr 2011 09:38:46 +0000 (11:38 +0200)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>
Thu, 7 Apr 2011 09:38:46 +0000 (11:38 +0200)
commitbaaa5ae00038c34c8a7539229cda083a8afde280
tree4122631a48a838cd7753fc4ab0439b2f284b7361
parent32228c4f2b3419a35d1623377050ef72edf73c92
Cocoa: p1 bug fix: fix auto test regressions

Ref: 32228c4f2b3419a35d1623377050ef72edf73c92
It seems that the change above broke some auto tests, which
revealed a true problem. When it comes to modal dialog, children
still needs to be stacked on top of modal parents, as they the
user cannot use the mouse to raise it. So rather than removing
subWindowStacking fully, we narrow it even further down to
only be used for children of modal dialogs. All in all, this
is close to removing it, but still us it for certain corner cases.

Task-number: QTBUG-11481
Reviewed-by: msorvig
src/gui/kernel/qwidget_mac.mm
tests/auto/macnativeevents/tst_macnativeevents.cpp