accelbubble: avoid updating position if NaN.
authorFawzi Mohamed <fawzi.mohamed@digia.com>
Fri, 11 Apr 2014 10:08:08 +0000 (12:08 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 17 Apr 2014 11:44:44 +0000 (13:44 +0200)
commit75487a011fb8b8de1e22c25425f024dfb97dc192
tree815dc724b478da8597c177513622e267ea3eec58
parente60743e095b8bb7fcc3f0de823d2a46aa68343d3
accelbubble: avoid updating position if NaN.

Invalid sensor data is NaN, and should be ignored.

Change-Id: I6436bdd494b3d167121bd8ee80f81c031e60743e
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
examples/sensors/accelbubble/accelbubble.qml