1. updated memory text when language changed,
2. updated initialize index
This commit is contained in:
parent
07d7fac490
commit
eaede032b4
5 changed files with 27 additions and 5 deletions
|
|
@ -34,6 +34,8 @@ public slots:
|
|||
|
||||
void onCurrentContainerUpdated();
|
||||
|
||||
void translateMemoryText();
|
||||
|
||||
signals:
|
||||
void connectToVpn(int serverIndex, const ServerCredentials &credentials, DockerContainer container,
|
||||
const QJsonObject &containerConfig);
|
||||
|
|
@ -44,6 +46,8 @@ signals:
|
|||
void reconnectWithUpdatedContainer(const QString &message);
|
||||
|
||||
private:
|
||||
Vpn::ConnectionState getCurrentConnectionState();
|
||||
|
||||
QSharedPointer<ServersModel> m_serversModel;
|
||||
QSharedPointer<ContainersModel> m_containersModel;
|
||||
|
||||
|
|
@ -52,6 +56,8 @@ private:
|
|||
bool m_isConnected = false;
|
||||
bool m_isConnectionInProgress = false;
|
||||
QString m_connectionStateText = tr("Connect");
|
||||
|
||||
Vpn::ConnectionState m_state;
|
||||
};
|
||||
|
||||
#endif // CONNECTIONCONTROLLER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue