diff options
author | Kirill Burtsev <kirill.burtsev@qt.io> | 2021-07-07 12:34:31 +0200 |
---|---|---|
committer | Kirill Burtsev <kirill.burtsev@qt.io> | 2021-07-21 14:22:41 +0200 |
commit | d79b3b4819bc0986a10b432a3e3f461017d310cc (patch) | |
tree | 3fed54b014d933afed5ca00d409bed966c65470a /src/core/api | |
parent | 19e27a6acfd967b0b4213da963bdc556108036bb (diff) |
QWebEngineProfile: hide notificationPresenter method back from api
Pick-to: 6.2
Change-Id: Ic9468cd078502fd5412da2374a2c814366dcf320
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/api')
-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 02c9995db..84e37b322 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; }; |