mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-13 10:32:11 +01:00
Disable QWebEngineSettings::FocusOnNavigationEnabled
Keeping this enabled will focus views loaded in background tabs. Closes #2352
This commit is contained in:
parent
05492a89e6
commit
aefc3eba38
|
@ -912,6 +912,7 @@ void MainApplication::loadSettings()
|
||||||
webSettings->setAttribute(QWebEngineSettings::HyperlinkAuditingEnabled, false);
|
webSettings->setAttribute(QWebEngineSettings::HyperlinkAuditingEnabled, false);
|
||||||
webSettings->setAttribute(QWebEngineSettings::FullScreenSupportEnabled, true);
|
webSettings->setAttribute(QWebEngineSettings::FullScreenSupportEnabled, true);
|
||||||
webSettings->setAttribute(QWebEngineSettings::LocalContentCanAccessRemoteUrls, true);
|
webSettings->setAttribute(QWebEngineSettings::LocalContentCanAccessRemoteUrls, true);
|
||||||
|
webSettings->setAttribute(QWebEngineSettings::FocusOnNavigationEnabled, false);
|
||||||
|
|
||||||
webSettings->setDefaultTextEncoding(settings.value("DefaultEncoding", webSettings->defaultTextEncoding()).toString());
|
webSettings->setDefaultTextEncoding(settings.value("DefaultEncoding", webSettings->defaultTextEncoding()).toString());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user