fix: free resources in slots

This commit is contained in:
Kevin Yue
2022-05-22 23:17:11 +08:00
parent dffbc64ef5
commit 8fe717d844
4 changed files with 40 additions and 9 deletions

View File

@@ -9,6 +9,7 @@
#include "portalconfigresponse.h"
#include "settingsdialog.h"
#include "vpn.h"
#include "gatewayauthenticator.h"
QT_BEGIN_NAMESPACE
namespace Ui { class GPClient; }
@@ -80,6 +81,8 @@ private:
SettingsDialog *settingsDialog;
QPushButton *settingsButton;
GatewayAuthenticator *gatewayAuthenticator;
bool isQuickConnect { false };
bool isSwitchingGateway { false };
PortalConfigResponse portalConfig;