Only ignore warning when it can actually be produced.
authorJason McDonald <jason.mcdonald@nokia.com>
Thu, 21 Apr 2011 04:49:41 +0000 (14:49 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:41 +0000 (10:46 +1000)
commit46412f71280bfec0686133f599c377da9ea0c6a3
tree758ba1c10497736ed0d06c8c3b820238c7903edc
parent0ea9ffef432d2df60b59bec146200a6acf0984be
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 *and* the target is not Mac OS X.

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