Remove Q_ASSERT from qitemmodel autotest
authorJason McDonald <jason.mcdonald@nokia.com>
Fri, 6 May 2011 05:12:03 +0000 (15:12 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:46 +0000 (10:46 +1000)
commiteeebb27650e436c2bf626b285362359eb9e61e0b
treea57c737ff6662cefe51fd4c89c7f2963fccd066a
parentf872c1a06561bdaa6f05fa33fe0c4b0a42b13179
Remove Q_ASSERT from qitemmodel autotest

Don't perform actions needed for the test inside Q_ASSERT, because these
actions won't happen in a non-debug build.

Change-Id: I0758e9f29f38c1a83a1501357286877f05beb6c8
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit b7d421da6d5e945b74ffbc3a7aa635a6ce63ebda)
tests/auto/qitemmodel/modelstotest.cpp