From d236c5a8a34803bda6115956184398b99dbba408 Mon Sep 17 00:00:00 2001 From: Michael Bruning Date: Fri, 15 Apr 2016 17:37:04 +0200 Subject: Use the temporary zoom factor to set the zoom factor It turns out that using the temporary zoom factor is meant to set the zoom factor for one certain view, and this is actually what we want. Also added auto tests for this. Task-number: QTBUG-51851 Task-number: QTBUG-51969 Change-Id: I8912cbc25637d3c1681026380a2ab3068a964868 Reviewed-by: Michal Klocek --- src/webengine/api/qquickwebengineview_p_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/webengine/api/qquickwebengineview_p_p.h') diff --git a/src/webengine/api/qquickwebengineview_p_p.h b/src/webengine/api/qquickwebengineview_p_p.h index 65bf25e67..65360dcac 100644 --- a/src/webengine/api/qquickwebengineview_p_p.h +++ b/src/webengine/api/qquickwebengineview_p_p.h @@ -213,6 +213,7 @@ private: QList m_userScripts; qreal m_dpiScale; QColor m_backgroundColor; + qreal m_defaultZoomFactor; }; #ifndef QT_NO_ACCESSIBILITY -- cgit v1.2.3