summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/api/qwebengineprofile.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-26 18:03:29 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-27 12:08:48 +0000
commit3839e65f910a7e110404e9d8cb8387366fcf0e1d (patch)
tree3dda8c6d82dfa33acf8b32113e3a2d25caa04e35 /src/webenginewidgets/api/qwebengineprofile.h
parentee10e6ad4d2d8fdf40c57d7eefcfbff7b8fc2af6 (diff)
API cleanup
Based on review feedback Change-Id: Ide40d4fd563ea682eaa2cc457d857445adea85cd Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/webenginewidgets/api/qwebengineprofile.h')
-rw-r--r--src/webenginewidgets/api/qwebengineprofile.h5
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 &)> &notificationPresenter);
- void setNotificationPresenter(std::function<void(const QWebEngineNotification &)> &&notificationPresenter);
+ void setNotificationPresenter(std::function<void(const QWebEngineNotification &)> notificationPresenter);
static QWebEngineProfile *defaultProfile();