Make QScreenPrivate constructor a bit clearer

Easier to read/understand that the screen properties are initialized
from the platformScreen.

Change-Id: I3084c3ac30a08cb4e154536f949475459212d2de
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
This commit is contained in:
Tor Arne Vestbø 2014-09-19 17:42:37 +02:00
parent 1fc8e089d8
commit 6742b250b5

View File

@ -67,11 +67,11 @@ public:
: platformScreen(screen)
, orientationUpdateMask(0)
{
orientation = screen->orientation();
geometry = screen->geometry();
availableGeometry = screen->availableGeometry();
logicalDpi = screen->logicalDpi();
refreshRate = screen->refreshRate();
orientation = platformScreen->orientation();
geometry = platformScreen->geometry();
availableGeometry = platformScreen->availableGeometry();
logicalDpi = platformScreen->logicalDpi();
refreshRate = platformScreen->refreshRate();
updatePrimaryOrientation();