mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
print the gpservice logs
This commit is contained in:
parent
e6383916c7
commit
11dc5920ef
@ -32,8 +32,8 @@ GPClient::GPClient(QWidget *parent, IVpn *vpn)
|
|||||||
QObject *ov = dynamic_cast<QObject*>(vpn);
|
QObject *ov = dynamic_cast<QObject*>(vpn);
|
||||||
connect(ov, SIGNAL(connected()), this, SLOT(onVPNConnected()));
|
connect(ov, SIGNAL(connected()), this, SLOT(onVPNConnected()));
|
||||||
connect(ov, SIGNAL(disconnected()), this, SLOT(onVPNDisconnected()));
|
connect(ov, SIGNAL(disconnected()), this, SLOT(onVPNDisconnected()));
|
||||||
connect(ov, SIGNAL(error(const &QString)), this, SLOT(onVPNError(const QString&)));
|
connect(ov, SIGNAL(error(QString)), this, SLOT(onVPNError(QString)));
|
||||||
connect(ov, SIGNAL(logAvailable(const &QString)), this, SLOT(onVPNLogAvailable(const QString&)));
|
connect(ov, SIGNAL(logAvailable(QString)), this, SLOT(onVPNLogAvailable(QString)));
|
||||||
|
|
||||||
// Initiallize the context menu of system tray.
|
// Initiallize the context menu of system tray.
|
||||||
initSystemTrayIcon();
|
initSystemTrayIcon();
|
||||||
|
@ -27,7 +27,7 @@ public:
|
|||||||
signals: // SIGNALS
|
signals: // SIGNALS
|
||||||
void connected();
|
void connected();
|
||||||
void disconnected();
|
void disconnected();
|
||||||
void error(const QString &errorMessage);
|
void error(QString errorMessage);
|
||||||
void logAvailable(const QString &log);
|
void logAvailable(QString log);
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user