1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-13 10:32:11 +01:00

MainApp: Fix loading fonts settings

This commit is contained in:
David Rosca 2015-02-08 11:32:00 +01:00
parent b94135ead5
commit e4852e7d88

View File

@ -892,6 +892,7 @@ void MainApplication::loadSettings()
webSettings->setUserStyleSheetUrl(userStyleSheet(userCss)); webSettings->setUserStyleSheetUrl(userStyleSheet(userCss));
#endif #endif
settings.endGroup();
settings.beginGroup("Browser-Fonts"); settings.beginGroup("Browser-Fonts");
webSettings->setFontFamily(QWebEngineSettings::StandardFont, settings.value("StandardFont", webSettings->fontFamily(QWebEngineSettings::StandardFont)).toString()); webSettings->setFontFamily(QWebEngineSettings::StandardFont, settings.value("StandardFont", webSettings->fontFamily(QWebEngineSettings::StandardFont)).toString());