mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
Compare commits
2 Commits
b41f361619
...
45f9e5299a
Author | SHA1 | Date | |
---|---|---|---|
|
45f9e5299a | ||
|
0c848a249d |
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user