diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-09-08 13:13:00 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-09-22 08:11:57 +0200 |
commit | 06abc1791302001df213758e99325406dceb8e49 (patch) | |
tree | 1048abc850be1804be75aac725558779280d18ce /src/core/web_engine_context.cpp | |
parent | a1930f11540aee6b8f6c837b008888d0107f9183 (diff) |
Add run-time getter of patch level
Unfortunately it requires manual updating, unless we agree on a separate
place to store it.
Change-Id: Ib150afec05005b05b254ef5aeb143f5187ea969d
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/web_engine_context.cpp')
-rw-r--r-- | src/core/web_engine_context.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp index 24df73bc8..2527e867c 100644 --- a/src/core/web_engine_context.cpp +++ b/src/core/web_engine_context.cpp @@ -948,4 +948,16 @@ const char *qWebEngineChromiumVersion() noexcept { return CHROMIUM_VERSION; } + +/*! + \relates <qtwebenginecoreglobal.h> + \since 6.3 + + Returns the version number of last Chromium version security patches have been + merged from. +*/ +const char *qWebEngineChromiumSecurityPatchVersion() noexcept +{ + return "92.0.4515.166"; // FIXME: Remember to update +} QT_END_NAMESPACE |