diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-12-10 11:04:37 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-12-10 11:22:42 (GMT) |
commit | c2b13ddde2f4998b03ff9036cc5ab81fd4132e61 (patch) | |
tree | 70582e8b6ee859fe2531834c9adb6da9f1c57bce /src/gui/util | |
parent | cde178fdc12262ecbbd99edb73477c6d6143e30e (diff) | |
download | Qt-c2b13ddde2f4998b03ff9036cc5ab81fd4132e61.zip Qt-c2b13ddde2f4998b03ff9036cc5ab81fd4132e61.tar.gz Qt-c2b13ddde2f4998b03ff9036cc5ab81fd4132e61.tar.bz2 |
Fix qwidget test crash
CEikonEnv::Static()->AppUiFactory()->Cba() call always returns NULL
unless cba was defined via resources, which we are no longer doing.
Due to the buggy implementation of MEikAppUiFactory interface in
Symbian, the only way to get non-resources created cba is to use the
return value of CEikonEnv::Static()->AppUiFactory()->SwapButtonGroup()
method, so changed the test cases to do a dummy swap. Since the swap
just changes the value of a member variable and doesn't trigger
anything, it should not cause any interference for the tests.
Task-number: QTBUG-15915
Reviewed-by: Janne Koskinen
Reviewed-by: Sami Merila
Diffstat (limited to 'src/gui/util')
0 files changed, 0 insertions, 0 deletions