summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2016-05-20 14:47:09 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2016-05-30 18:22:03 +0000
commitcd1fc0b6ed27906c15b8f0e7f7e1b8cab147a3c3 (patch)
tree3737dcaf85b748d8a03e1cc111db9cfec1b7fed5 /src/plugins/sensors
parent6189199557a2b8eb981f37e6370b47c25b224b4e (diff)
QCoverSensorGestureRecognizer: sanitize initialization.
Coverity noticed uninitialized members (CID 22309). Eliminate members handler (never accessed or set; the code always uses QtSensorGestureSensorHandler::instance() instead) and lastTs (set but never accessed). Initialized timer (to 0; it'll be set more sensibly as long as create() gets called). Reformatted constructor. Change-Id: I41738ec51db94fb35e068af509e9a34bf9221770 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
Diffstat (limited to 'src/plugins/sensors')
0 files changed, 0 insertions, 0 deletions