summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_context.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2022-10-10 14:55:02 +0200
committerMichal Klocek <michal.klocek@qt.io>2022-10-12 03:33:26 +0000
commit337f6fa60b1fd17549537ed16c83b57ac5318c25 (patch)
tree3da7def8f537e9c26e1949ef079c6218f9294218 /src/core/web_engine_context.h
parent03c3b33f5d4e8a40175ab1febbb6051f0878db84 (diff)
Cleanup and document webEngineArgs command line option
Fix usage of badcode vs code. This commit amends 82357352b49fdcba80727feec441053f676b5af2. Fixes: QTBUG-107502 Pick-to: 6.4 Change-Id: I50be8b37a81f33ef8e8dff3985d00f562542031a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/web_engine_context.h')
-rw-r--r--src/core/web_engine_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/web_engine_context.h b/src/core/web_engine_context.h
index 7e16fc7d3..f7dbd1e53 100644
--- a/src/core/web_engine_context.h
+++ b/src/core/web_engine_context.h
@@ -83,7 +83,8 @@ public:
void addProfileAdapter(ProfileAdapter *profileAdapter);
void removeProfileAdapter(ProfileAdapter *profileAdapter);
void destroy();
- static base::CommandLine* commandLine();
+ static base::CommandLine *initCommandLine(bool &useEmbeddedSwitches,
+ bool &enableGLSoftwareRendering);
static gpu::SyncPointManager *syncPointManager();