summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/codingconventions/myscript.js
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-05-03 00:38:03 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2011-05-04 03:16:29 (GMT)
commitd1011fc9328fa335bc69a065b29e77ce60608c55 (patch)
tree8b396815aee1eeabffb207a6966b14475c821a04 /doc/src/snippets/declarative/codingconventions/myscript.js
parent4b5a7eeacee997f0129354c9669b8e0d66ca4efa (diff)
downloadQt-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