> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]
> On Behalf Of Samuel Rødal
> Sent: 05 June 2012 13:30
> To: [email protected]
> Subject: [Development] Another late API addition in QScreen
>
> Hello,
>
> the current QScreen API forces the platform to always have an
> accelerometer sensor or similar running in order to provide
> QScreen::orientation() updates, which might lead to wasted resources in
> the case of handheld embedded devices.
>
> As a fix for this I've introduced a new function in QScreen,
> setOrientationUpdateMask(), in order force the application to
> explicitly have to ask for orientation updates.
>
> https://codereview.qt-project.org/#change,27981
>

Late comment, but should the default have been updates on?
Qt 4 behaviour on symbian/harmattan was to have screen rotation be automatic 
unless opted out from (which was unfortunately a different Qt API on each 
platform)

--



________________________________
Subject to local law, communications with Accenture and its affiliates 
including telephone calls and emails (including content), may be monitored by 
our systems for the purposes of security and the assessment of internal 
compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to