diff options
author | Sami Merila <sami.merila@nokia.com> | 2011-05-30 10:22:06 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2011-05-30 10:22:06 (GMT) |
commit | a9c76a7403b573ebe69d324d0b2f16f367c3a458 (patch) | |
tree | 904fb5c683ab60b0940df86b656ec197f54fe455 /LICENSE.LGPL | |
parent | f32377e2038369cbf2822875cd8836b1f70feb6e (diff) | |
download | Qt-a9c76a7403b573ebe69d324d0b2f16f367c3a458.zip Qt-a9c76a7403b573ebe69d324d0b2f16f367c3a458.tar.gz Qt-a9c76a7403b573ebe69d324d0b2f16f367c3a458.tar.bz2 |
Fix QMenuBar autotest failures for Symbian
Effectively three fixes to reach same autotest results as on other
Symbian devices and to make the case not crash (itself, or Qt).
a) Fix null pointer usage in QWidget.
This is mostly theoretic case, since it requires that previous focus
widget has widget, yet it doesn't have internal winId. Still test case
manages to make this happen, so lets prevent the null pointer use.
b) Skip activatedCount_noQt3() test case,
since it would require shortcut support and leads to test crash.
Qt for Symbian should have shortcut support as a result of task
http://bugreports.qt.nokia.com/browse/QTBUG-5730
c) Ensure that menu has at least 360 width in tests that send keypresses
to the menu. Otherwise, menuitems might get set into menu extension,
which makes highlight tests fail (since item is not visible).
Task-number: QT-5053
Reviewed-by: Tomi Vihria
Diffstat (limited to 'LICENSE.LGPL')
0 files changed, 0 insertions, 0 deletions