1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Windows: Fix compile issue.

This commit is contained in:
srazi 2016-05-11 16:03:34 +04:30 committed by David Rosca
parent ce67c7a455
commit b788df0097

View File

@ -348,7 +348,7 @@ Preferences::Preferences(BrowserWindow* window)
//FONTS
settings.beginGroup("Browser-Fonts");
QWebEngineSettings* webSettings = QWebEngineSettings::defaultSettings();
auto defaultFont = [&](QWebEngineSettings::FontFamily font) {
auto defaultFont = [&](QWebEngineSettings::FontFamily font) -> const QString {
const QString family = webSettings->fontFamily(font);
if (!family.isEmpty())
return family;