diff --git a/src/libs/ui/settingsdialog.cpp b/src/libs/ui/settingsdialog.cpp index 96a3c6c4..110ea308 100644 --- a/src/libs/ui/settingsdialog.cpp +++ b/src/libs/ui/settingsdialog.cpp @@ -26,6 +26,7 @@ #include +#include #include #include @@ -84,7 +85,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) ui->globalHotKeyGroupBox->setToolTip(tr("Global shortcuts are not supported on the current platform.")); } - QWebEngineSettings *webSettings = QWebEngineProfile::defaultProfile()->settings(); + QWebEngineSettings *webSettings = Browser::Settings::defaultProfile()->settings(); // Avoid casting in each connect. auto currentIndexChangedSignal