mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-24 07:46:32 -05:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45f9e5299a | ||
|
|
0c848a249d |
No files matched your search
@@ -1,6 +1,9 @@
|
||||
|
||||
#include "enhancedwebpage.h"
|
||||
#include <QWebEngineCertificateError>
|
||||
#include <plog/Log.h>
|
||||
|
||||
bool EnhancedWebPage::certificateError(const QWebEngineCertificateError &certificateError) {
|
||||
return true;
|
||||
LOGI << "An error occurred during certificate verification for" << certificateError.url() << "; " << certificateError.errorDescription();
|
||||
return certificateError.deferred();
|
||||
};
|
||||
@@ -3,9 +3,10 @@
|
||||
|
||||
#include <QtWebEngineWidgets/qwebenginepage.h>
|
||||
|
||||
class EnhancedWebPage : public QWebEnginePage {
|
||||
protected:
|
||||
bool certificateError(const QWebEngineCertificateError &certificateError);
|
||||
class EnhancedWebPage : public QWebEnginePage
|
||||
{
|
||||
protected:
|
||||
bool certificateError(const QWebEngineCertificateError &certificateError) override;
|
||||
};
|
||||
|
||||
#endif // !ECHANCEDWEBPAG
|
||||
Reference in new issue
Block a user