summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qiosscreen.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-12-05 00:22:05 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-12-11 21:17:34 +0000
commit3d720f38faec4c1c600e128d5d8da5a4435ec1ae (patch)
tree06114657c47d66cf0bcbe42a2d0c263077258dbd /src/plugins/platforms/ios/qiosscreen.h
parentd2d6c6f7813fa38ced6b80ead763ed6e6daaa951 (diff)
iOS: Implement QIOSScreen::refreshRate to account for 120Hz displays
Task-number: QTBUG-64968 Change-Id: If96f6cde8f2fc6d91beb842d82a881fe057260b5 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/plugins/platforms/ios/qiosscreen.h')
-rw-r--r--src/plugins/platforms/ios/qiosscreen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiosscreen.h b/src/plugins/platforms/ios/qiosscreen.h
index d63fa29ec3..be0f301710 100644
--- a/src/plugins/platforms/ios/qiosscreen.h
+++ b/src/plugins/platforms/ios/qiosscreen.h
@@ -69,6 +69,7 @@ public:
QSizeF physicalSize() const Q_DECL_OVERRIDE;
QDpi logicalDpi() const Q_DECL_OVERRIDE;
qreal devicePixelRatio() const Q_DECL_OVERRIDE;
+ qreal refreshRate() const override;
Qt::ScreenOrientation nativeOrientation() const Q_DECL_OVERRIDE;
Qt::ScreenOrientation orientation() const Q_DECL_OVERRIDE;