Only ignore warning when it can actually be produced.
authorJason McDonald <jason.mcdonald@nokia.com>
Wed, 20 Apr 2011 01:39:14 +0000 (11:39 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:41 +0000 (10:46 +1000)
commit50fd0092db7b3de82fc017f1885cb0d4fdfed205
tree0a3f700807c1c82c3f8eb44f7c8c6565ec726296
parent8ccb06a718a50e65288422d7a79da8317e372d67
Only ignore warning when it can actually be produced.

Fix regression introduced in 3ca51d87296bcb3098d7de14294fef9294fd5ed4.
The warning is only generated in builds where QT_NO_DEBUG is not
defined.

Change-Id: I9aa3db369094f4046062b5dc1dc694342208ee45
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 67bc4990f7541cca089882a8c3be1b2b8d98cd4c)
tests/auto/qaccessibility/tst_qaccessibility.cpp