diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2012-05-28 12:20:22 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-28 04:58:45 +0200 |
commit | dd14ea8acf97103868d6dfcafb7b19275e605e97 (patch) | |
tree | 74ac18db8f907e2d6e58500c9601cf8dc28ffbfc /examples/QtSensors/accel/main.cpp | |
parent | 7d54123daa2080f96c7d74f58125141555832b09 (diff) |
Check for Q_GLOBAL_STATIC returning 0 (Sensor Gestures).
It's probably not very likely but during app shutdown, the
Q_GLOBAL_STATIC used in sensor gestures will start returning 0. Check
for this to avoid the chance of a crash.
Change-Id: I4b538ac9b9535bd9439a897d4eab51211c523e33
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'examples/QtSensors/accel/main.cpp')
0 files changed, 0 insertions, 0 deletions