Commit a5e0e621 authored by Laurent Montel's avatar Laurent Montel 😁

Add QWebEngineSettings::FocusOnNavigationEnabled to false

parent 13683dd2
......@@ -49,6 +49,10 @@ void MailWebEnginePage::initialize()
settings()->setAttribute(QWebEngineSettings::AutoLoadIconsForPage, false);
#endif
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
settings()->setAttribute(QWebEngineSettings::FocusOnNavigationEnabled, false);
#endif
const QFontInfo font(QFontDatabase().systemFont(QFontDatabase::GeneralFont));
settings()->setFontFamily(QWebEngineSettings::StandardFont, font.family());
settings()->setFontSize(QWebEngineSettings::DefaultFontSize, font.pixelSize());
......
Markdown is supported
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