Commit f6b26af2 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Show the actual QtWebEngine version in about dialog

It was claiming to show the QtWebEngine version but really showing the QtCore one.

Those two are different nowadays in most distros, since Qt 5.15 releases are commercial only for a year (except for WebEngine)
parent 3fa1e811
Pipeline #192886 passed with stage
in 3 minutes and 9 seconds
......@@ -25,6 +25,7 @@
#include <QWebEnginePage>
#include <QWebEngineProfile>
#include <QtWebEngineCoreVersion>
AboutDialog::AboutDialog(QWidget* parent)
: QDialog(parent)
......@@ -54,7 +55,7 @@ void AboutDialog::showAbout()
Qz::VERSION
#endif
);
aboutHtml += tr("<b>QtWebEngine version %1</b></p>").arg(qVersion());
aboutHtml += tr("<b>QtWebEngine version %1</b></p>").arg(QStringLiteral(QTWEBENGINECORE_VERSION_STR));
aboutHtml += QString("<p>&copy; %1 %2<br/>").arg(Qz::COPYRIGHT, Qz::AUTHOR);
aboutHtml += QString("<a href=%1>%1</a></p>").arg(Qz::WWWADDRESS);
aboutHtml += "<p>" + mApp->userAgentManager()->defaultUserAgent() + "</p>";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment