Add mutex guards for AbstractDeclarative::updateWindowParameters


Adds a mutex to guard that pointer to controller is not deleted while
doing updateWindowParameters. The render thread doesn't have control to
the node mutex, so that won't apply since it may be deleted while requesting
a mutex.

Change-Id: I8897954415c1bd7ab61ef99b420c9ac2aaa89411
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commitf03ed59a582d2bf689c866f195224bf659a7bc47
parent54910f8cf827d6f9474de9f6f88b3a158a058c56
authorMika Salmela <mika.salmela@qt.io>
committerMika Salmela <mika.salmela@qt.io>
commit timeThu, 12 Jan 2017 10:18:35 +0000