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