From 6742b250b5d670cb91d1d523d6f0bd931a9442b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 19 Sep 2014 17:42:37 +0200 Subject: [PATCH] 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 --- src/gui/kernel/qscreen_p.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gui/kernel/qscreen_p.h b/src/gui/kernel/qscreen_p.h index 3e5feb2932..61bd5de61e 100644 --- a/src/gui/kernel/qscreen_p.h +++ b/src/gui/kernel/qscreen_p.h @@ -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();