PinchArea autotest doesn't depend on window activation; QScopedPointer
authorShawn Rutledge <shawn.rutledge@digia.com>
Mon, 4 Mar 2013 12:58:57 +0000 (13:58 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 4 Mar 2013 18:47:38 +0000 (19:47 +0100)
commit037c0d5d597d2e7d35e74ea1de42d4ecf16fbc6a
tree7b0caf02309f14b422de7387ba4d0b3fc4484d9a
parent1c451b40aee66a38ca3d61e5beec4ae8c986c8ed
PinchArea autotest doesn't depend on window activation; QScopedPointer

The QQuickView pointer is guarded by a QScopedPointer to make sure it
will be deleted if the test fails.  And because we don't depend on
window activation, the test should be parallelizable.

Change-Id: I33a5dcff037087d9752b264eb067196c2a5be535
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
tests/auto/quick/qquickpincharea/qquickpincharea.pro
tests/auto/quick/qquickpincharea/tst_qquickpincharea.cpp