diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/api/qwebengineprofile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/api/qwebengineprofile.h b/src/core/api/qwebengineprofile.h index 1e5b84fc4..9e4b24050 100644 --- a/src/core/api/qwebengineprofile.h +++ b/src/core/api/qwebengineprofile.h @@ -134,7 +134,6 @@ public: void setDownloadPath(const QString &path); void setNotificationPresenter(std::function<void(std::unique_ptr<QWebEngineNotification>)> notificationPresenter); - std::function<void(std::unique_ptr<QWebEngineNotification>)> notificationPresenter(); QWebEngineClientCertificateStore *clientCertificateStore(); @@ -151,6 +150,9 @@ private: Q_DECLARE_PRIVATE(QWebEngineProfile) QWebEngineProfile(QWebEngineProfilePrivate *, QObject *parent = nullptr); + friend class QWebEngineView; + std::function<void(std::unique_ptr<QWebEngineNotification>)> notificationPresenter(); + friend class QWebEnginePagePrivate; QScopedPointer<QWebEngineProfilePrivate> d_ptr; }; |