Compare commits

..
2 Commits
2 changed files with 4 additions and 8 deletions

No files matched your search

+1 -4
View File
@@ -1,9 +1,6 @@
#include "enhancedwebpage.h"
#include <QWebEngineCertificateError>
#include <plog/Log.h>
bool EnhancedWebPage::certificateError(const QWebEngineCertificateError &certificateError) {
LOGI << "An error occurred during certificate verification for" << certificateError.url() << "; " << certificateError.errorDescription();
return certificateError.deferred();
return true;
};
+3 -4
View File
@@ -3,10 +3,9 @@
#include <QtWebEngineWidgets/qwebenginepage.h>
class EnhancedWebPage : public QWebEnginePage
{
protected:
bool certificateError(const QWebEngineCertificateError &certificateError) override;
class EnhancedWebPage : public QWebEnginePage {
protected:
bool certificateError(const QWebEngineCertificateError &certificateError);
};
#endif // !ECHANCEDWEBPAG