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:
parent
b8f5a4ccf1
commit
90c9caeb18
|
@ -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