Allow small delay in scene test for viewport resize


On linux, there seems to be some asynchronous activity
related to window resizing, since calling processEvents() is not
enough to ensure viewport size gets updated in subViews test.
Use QTRY_COMPARE to allow for small delay.

Change-Id: Idae04ff9436c819ef150caa57f6fa988e4011746
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
commit89911624cf0d8726ee594d5b689881990592e09b
parent2d61b8f27a74168ca06a32c4d2f077af2cbc7b88
authorMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>
committerMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>
commit timeFri, 31 Oct 2014 09:19:13 +0200