From 90c9caeb18c277cc75810881b308bc0defe55e2a Mon Sep 17 00:00:00 2001 From: srazi Date: Wed, 11 May 2016 16:03:34 +0430 Subject: [PATCH] Windows: Fix compile issue. --- src/lib/preferences/preferences.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/preferences/preferences.cpp b/src/lib/preferences/preferences.cpp index dd2582ea9..3679ba4e3 100644 --- a/src/lib/preferences/preferences.cpp +++ b/src/lib/preferences/preferences.cpp @@ -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;