diff options
author | Shane Kearns <shane.kearns@sosco.com> | 2009-09-17 12:28:16 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@sosco.com> | 2009-09-17 12:32:53 (GMT) |
commit | 37b9577f00bfba78915dfd659499efbf04acce4e (patch) | |
tree | 76c1c50fca8776ce235a2d314818f27e878da8b3 /tests/auto/qtwidgets/tst_qtwidgets.cpp | |
parent | 585a70c45d69b8abbea5f8f6ff117484247e95eb (diff) | |
download | Qt-37b9577f00bfba78915dfd659499efbf04acce4e.zip Qt-37b9577f00bfba78915dfd659499efbf04acce4e.tar.gz Qt-37b9577f00bfba78915dfd659499efbf04acce4e.tar.bz2 |
Fix regression after code review
The branch maintained its own set of native windows.
This was commented to be a duplication of the native window list kept
by QWidgetPrivate, and changed.
Unfortunately, the set maintained on the branch contained only window
owning controls, while the list kept by QWidgetPrivate contains all
widgets that have a CCoeControl.
Added a check for whether the control is window owning before using its
DrawableWindow() to avoid getting a null pointer.
Reviewed-by: Jason Barron
Diffstat (limited to 'tests/auto/qtwidgets/tst_qtwidgets.cpp')
0 files changed, 0 insertions, 0 deletions