summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmenu
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-05-03 11:25:17 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2011-05-18 10:46:42 +1000
commitb0da4334369536d81752a652913cef26f8b93dd3 (patch)
tree29c57c77ca8367a3511fda67bd96715232c59c0e /tests/auto/qmenu
parent7c8c84d92beba1ca62cfebf9f05d925be43bf563 (diff)
Remove Q_ASSERT from qitemview autotest
Allow createView() to return a null view on failure (which it already did in release mode builds), but fail the test gracefully instead of crashing when a null view is returned. Also reordered the code slightly to put all the QFETCH's together. Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern Change-Id: I3a41c738cb0e4e860db2342b30817a804b20f30d (cherry picked from commit 51b1d8dc20a2557d2002550b03e5b9f37f425fb4)
Diffstat (limited to 'tests/auto/qmenu')
0 files changed, 0 insertions, 0 deletions