diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-03 00:38:03 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-04 03:16:29 (GMT) |
commit | d1011fc9328fa335bc69a065b29e77ce60608c55 (patch) | |
tree | 8b396815aee1eeabffb207a6966b14475c821a04 /doc/src/snippets/declarative/codingconventions/myscript.js | |
parent | 4b5a7eeacee997f0129354c9669b8e0d66ca4efa (diff) | |
download | Qt-d1011fc9328fa335bc69a065b29e77ce60608c55.zip Qt-d1011fc9328fa335bc69a065b29e77ce60608c55.tar.gz Qt-d1011fc9328fa335bc69a065b29e77ce60608c55.tar.bz2 |
Remove Q_ASSERT from qgraphicsanchorlayout test
Q_ASSERT will only catch a violation of the precondition of the
checkReverseDirection function in a debug build. This commit replaces
the Q_ASSERT with QVERIFY'ing the precondition (that the widget has a
layout) before calling the function.
Change-Id: Ibaa2b52b7d67fa20784e0df022e8c8169da0e50e
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
Diffstat (limited to 'doc/src/snippets/declarative/codingconventions/myscript.js')
0 files changed, 0 insertions, 0 deletions