mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
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)
This commit is contained in:
parent
3fa1e81105
commit
f6b26af2c7
|
@ -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>© %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>";
|
||||
|
|
Loading…
Reference in New Issue
Block a user