diff options
Diffstat (limited to 'src/webengine/webpage.h')
-rw-r--r-- | src/webengine/webpage.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/webengine/webpage.h b/src/webengine/webpage.h index 674f278..92c5925 100644 --- a/src/webengine/webpage.h +++ b/src/webengine/webpage.h @@ -6,8 +6,8 @@ * SPDX-License-Identifier: GPL-3.0 */ -#ifndef WEBPAGE_H -#define WEBPAGE_H +#ifndef SMOLBOTE_WEBPAGE_H +#define SMOLBOTE_WEBPAGE_H #include <QWebEnginePage> @@ -18,7 +18,10 @@ public: explicit WebPage(QWebEngineProfile *profile, QObject *parent = nullptr); protected: - bool certificateError(const QWebEngineCertificateError &certificateError); + bool certificateError(const QWebEngineCertificateError &certificateError) override; + +private slots: + void featurePermissionDialog(const QUrl &securityOrigin, QWebEnginePage::Feature feature); }; -#endif // WEBPAGE_H +#endif // SMOLBOTE_WEBPAGE_H |