diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2015-01-21 16:07:08 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com> | 2015-02-02 16:19:01 +0000 |
commit | f568e511b7f6a2cbac0cec086fb49e2b5b19257c (patch) | |
tree | 652a8b656f04526a8a14d461479bdbb22abf7c41 /src/plugins/platforms/ios/qiosbackingstore.h | |
parent | 5abba00befd8ebb475803ffaf8cdf3dfcd3ae287 (diff) |
iOS: Keep size and device pixel ratio of QIOSBackingStore in sync with window
We were only doing this for the size, which caused problems when moving
a window from one screen to another where the two screens had different
device pixel ratios.
Change-Id: If56df34677417369639ee8e4df05820fddd9198d
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/ios/qiosbackingstore.h')
-rw-r--r-- | src/plugins/platforms/ios/qiosbackingstore.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/platforms/ios/qiosbackingstore.h b/src/plugins/platforms/ios/qiosbackingstore.h index eff7455247..555dfa2a5d 100644 --- a/src/plugins/platforms/ios/qiosbackingstore.h +++ b/src/plugins/platforms/ios/qiosbackingstore.h @@ -38,6 +38,8 @@ QT_BEGIN_NAMESPACE +class QOpenGLPaintDevice; + class QIOSBackingStore : public QPlatformBackingStore { public: @@ -53,7 +55,7 @@ public: private: QOpenGLContext *m_context; - QPaintDevice *m_device; + QOpenGLPaintDevice *m_device; }; QT_END_NAMESPACE |