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

Windows: Fix compile issue.

This commit is contained in:
srazi 2016-05-11 16:03:34 +04:30
parent b8f5a4ccf1
commit 90c9caeb18

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;