1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Show QtWebEngine version on Falkon Config page

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2023-01-29 10:46:26 +01:00
parent 6512aa21a7
commit fbe1fc81f3
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -34,6 +34,7 @@
#include <QUrlQuery> #include <QUrlQuery>
#include <QWebEngineProfile> #include <QWebEngineProfile>
#include <QWebEngineUrlRequestJob> #include <QWebEngineUrlRequestJob>
#include <QtWebEngineCoreVersion>
static QString authorString(const char* name, const QString &mail) static QString authorString(const char* name, const QString &mail)
{ {
@ -319,6 +320,7 @@ QString FalkonSchemeReply::configPage()
#endif #endif
) + ) +
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Qt version"), qVersion()) + QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Qt version"), qVersion()) +
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("QtWebEngine version"), QSL(QTWEBENGINECORE_VERSION_STR)) +
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Platform"), QzTools::operatingSystemLong())); QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Platform"), QzTools::operatingSystemLong()));
cPage.replace(QLatin1String("%PATHS-TEXT%"), cPage.replace(QLatin1String("%PATHS-TEXT%"),