From: Heli Hyvättinen Date: Mon, 24 Oct 2011 10:43:12 +0000 (+0300) Subject: Bit faster X-Git-Tag: v0.4.0~2 X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=3ceccb81034ce107b4054671eca131320d6110fb;p=ghostsoverboard Bit faster Speed is better now, still slower than on Maemo, but roughly what it was before on Harmattan. Bug: speed sopetimes drops for a brief moment. This seems to be caused by system slowing because of lots of apps running. (Appeared with 7 browser windows and three other apps on the background, but not with no apps on the background.) The bug is not caused by the change to timer-triggered sensor reading, and seemed even worse without it. --- diff --git a/orientationcontrolledgraphicspixmapobject.cpp b/orientationcontrolledgraphicspixmapobject.cpp index 0276a25..3b41ab2 100644 --- a/orientationcontrolledgraphicspixmapobject.cpp +++ b/orientationcontrolledgraphicspixmapobject.cpp @@ -37,7 +37,7 @@ OrientationControlledGraphicsPixmapObject::OrientationControlledGraphicsPixmapOb { rotationReadingInitialized_ = false; - rotationReadingTimer_.setInterval(35); + rotationReadingTimer_.setInterval(15); connect(&rotationReadingTimer_,SIGNAL(timeout()),this,SLOT(readRotationSensor())); connect(&rotationSensor_,SIGNAL(readingChanged()),this,SLOT(rotationSensorReady()));