diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2016-02-12 11:33:35 -0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-02-16 08:48:59 +0000 |
commit | 2df7db1bedc93403b0e153dad3b4ac765ac6a335 (patch) | |
tree | fe277d8f82a0c90c23ec49b8103a57f870125722 | |
parent | 5928fda0dac032430f8de32885bfabd2792432d1 (diff) |
Enable Viewport Meta support for Embedded platform
The Viewport Meta is enabled in Android so we ought to do the same for
Qt's embedded platform.
Task-number: QTBUG-50903
Change-Id: I0d5aab42e740cc00eb2d9111953577019211bf11
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-rw-r--r-- | src/core/web_engine_context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp index 9c8a6c757..a8cab45c5 100644 --- a/src/core/web_engine_context.cpp +++ b/src/core/web_engine_context.cpp @@ -229,6 +229,7 @@ WebEngineContext::WebEngineContext() parsedCommandLine->AppendSwitch(switches::kEnableOverlayScrollbar); parsedCommandLine->AppendSwitch(switches::kEnablePinch); parsedCommandLine->AppendSwitch(switches::kEnableViewport); + parsedCommandLine->AppendSwitch(switches::kEnableViewportMeta); parsedCommandLine->AppendSwitch(switches::kMainFrameResizesAreOrientationChanges); parsedCommandLine->AppendSwitch(switches::kDisableAcceleratedVideoDecode); parsedCommandLine->AppendSwitch(switches::kDisableGpuShaderDiskCache); |