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:
parent
ce67c7a455
commit
b788df0097
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user