diff options
Diffstat (limited to 'src/webenginewidgets/api/qwebengineprofile.h')
-rw-r--r-- | src/webenginewidgets/api/qwebengineprofile.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/webenginewidgets/api/qwebengineprofile.h b/src/webenginewidgets/api/qwebengineprofile.h index 5ad999c00..6ffbd8a66 100644 --- a/src/webenginewidgets/api/qwebengineprofile.h +++ b/src/webenginewidgets/api/qwebengineprofile.h @@ -134,14 +134,13 @@ public: void setSpellCheckEnabled(bool enabled); bool isSpellCheckEnabled() const; - void setUseForGlobalCertificateVerification(); + void setUseForGlobalCertificateVerification(bool enabled = true); bool isUsedForGlobalCertificateVerification() const; QString downloadPath() const; void setDownloadPath(const QString &path); - void setNotificationPresenter(const std::function<void(const QWebEngineNotification &)> ¬ificationPresenter); - void setNotificationPresenter(std::function<void(const QWebEngineNotification &)> &¬ificationPresenter); + void setNotificationPresenter(std::function<void(const QWebEngineNotification &)> notificationPresenter); static QWebEngineProfile *defaultProfile(); |