Fix regression where QQuickScreenAttached overwrites QScreen values
authorAlbert Astals Cid <albert.astals@canonical.com>
Fri, 6 Feb 2015 09:40:03 +0000 (10:40 +0100)
committerAlbert Astals Cid <albert.astals@canonical.com>
Fri, 6 Feb 2015 10:08:36 +0000 (10:08 +0000)
commit1c678e09c997ee96563404a28820c5068679e633
treef53cd08997e319e42a3da1434e6d6ba81d20bef7
parent0b60867f80e207a9ccc27cc337116d1c6fc928bd
Fix regression where QQuickScreenAttached overwrites QScreen values

Up to Qt 5.3 it was fine setting the orientationUpdateMask in
QScreen in C++, with 5.4 that value is always discarded and overwrote
with 0, this change makes it possible to still set the orientationUpdateMask
value in C++ and not have it overwritten unless specifically changed from QML

Change-Id: I134290ce91be8b91df4e9e8e71120753813f48d7
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
src/quick/items/qquickscreen.cpp
src/quick/items/qquickscreen_p.h