diff options
author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2013-03-21 17:09:23 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-14 11:31:15 +0200 |
commit | a489612b023b9bd4fca0a111ae88d819f99a04dd (patch) | |
tree | 2ccec178a82ffc43ccfb18a9cf44f78cdaecd993 /src/plugins/sensors/ios/iosgyroscope.h | |
parent | 00388a96f3324b540580d8171102b4ae1cf17f0e (diff) |
iOS: add QPointer guard to accelerometer and gyro
Since we process data from the sensors using a callback
queued to the application operation queue, we need to check
that the qt sensor is still alive before accessing it.
Change-Id: I697d72f94aedec34b125006d6405428e282bfc0d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Diffstat (limited to 'src/plugins/sensors/ios/iosgyroscope.h')
0 files changed, 0 insertions, 0 deletions