QQuickGridMesh: Avoid a signal connection per mesh instance by just calling the signa...
authorRobin Burchell <robin.burchell@viroteck.net>
Wed, 7 Jan 2015 21:00:00 +0000 (22:00 +0100)
committerRobin Burchell <robin.burchell@viroteck.net>
Fri, 9 Jan 2015 11:41:30 +0000 (12:41 +0100)
commit5607810f4ee67343c82e91c78620a27ebdd6a983
tree7ae9a0a72431b558b28aa971aade1a9814060d2a
parent32b6630a750850cd3d33df55b6f298fb2de23b3a
QQuickGridMesh: Avoid a signal connection per mesh instance by just calling the signal directly.

This can be instantiated a fair number of times, leading to a lot of signal
connections. Since the signal is so simple, just place a function call inline
and avoid unnecessary allocations.

Change-Id: I031245c46bf797898f22ed991d0e97d73728bdf5
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
src/quick/items/qquickshadereffectmesh.cpp