Fix usage of QMutexLocker
authorKai Koehne <kai.koehne@nokia.com>
Tue, 24 Apr 2012 13:17:24 +0000 (15:17 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Apr 2012 13:58:25 +0000 (15:58 +0200)
commit2a31da23b459cee39aa26b4384df04daf3d33954
tree38b14582daf989385f9349d52e0d64904592a120
parent05e57b7736f8c370476e197fc9d4f77f2cb01605
Fix usage of QMutexLocker

Not giving QMutexLocker a name means that it's lifetime is
not guaranteed to be bound to the current scope.

Change-Id: I6e58b0aab814c5e686fac3ff0aa6b671e17db240
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/qml/qml/qquickworkerscript.cpp