mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
refactor: simplify the code
This commit is contained in:
@@ -12,7 +12,6 @@ class EnhancedWebView : public QWebEngineView
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit EnhancedWebView(QWidget *parent = nullptr);
|
||||
~EnhancedWebView();
|
||||
|
||||
void initialize();
|
||||
|
||||
@@ -24,7 +23,7 @@ private slots:
|
||||
void onEventReceived(QString eventName, QJsonObject params);
|
||||
|
||||
private:
|
||||
CDPCommandManager *cdp;
|
||||
CDPCommandManager *cdp { nullptr };
|
||||
};
|
||||
|
||||
#endif // ENHANCEDWEBVIEW_H
|
||||
|
||||
Reference in New Issue
Block a user