summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-01-15 11:22:01 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-01-15 15:05:25 +0000
commitbc0db957cd158af234f02fb1a9510eab60a491a2 (patch)
tree727332459bf7f86440a9727b3c716d1566cefacb /src
parent7c7ee9a94bd566bd94e1548fb4bb6b5ec774c0d1 (diff)
Fix initialization order of m_webChannel
The initialization order did not match the declaration order causing compiler warnings. Change-Id: I3c852525736a145202085a698b542a7df7c3a9d9 Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/webengine/api/qquickwebengineview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webengine/api/qquickwebengineview.cpp b/src/webengine/api/qquickwebengineview.cpp
index c6d849387..0cd356508 100644
--- a/src/webengine/api/qquickwebengineview.cpp
+++ b/src/webengine/api/qquickwebengineview.cpp
@@ -109,9 +109,9 @@ QQuickWebEngineViewPrivate::QQuickWebEngineViewPrivate()
, isLoading(false)
, m_activeFocusOnPress(true)
, devicePixelRatio(QGuiApplication::primaryScreen()->devicePixelRatio())
+ , m_webChannel(0)
, m_dpiScale(1.0)
, m_backgroundColor(Qt::white)
- , m_webChannel(0)
{
// The gold standard for mobile web content is 160 dpi, and the devicePixelRatio expected
// is the (possibly quantized) ratio of device dpi to 160 dpi.