Fix warning in tst_qquickdesignersupport.cpp
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>
Tue, 25 Aug 2015 07:08:58 +0000 (09:08 +0200)
committerThomas Hartmann <Thomas.Hartmann@digia.com>
Tue, 25 Aug 2015 15:02:57 +0000 (15:02 +0000)
commit89c3c79c257fe53122cce1c739453bc45b5926b8
tree20c403255b6f1c929c91548be295f67b5cc32ac2
parentde1ecd10ab7af694f8a3e427c6be83738879d11e
Fix warning in tst_qquickdesignersupport.cpp

Taking the address of a temporary is not allowed.
It is against the standard to pass a non-const reference
to a temporary object.

Change-Id: Ib333fa9a366725b8f0491a4216597fa5baeef7ff
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
tests/auto/quick/qquickdesignersupport/tst_qquickdesignersupport.cpp