fixed protocol reloads old value in settings page
This commit is contained in:
parent
fdff57da7c
commit
85414eb65f
5 changed files with 22 additions and 4 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include "core/defs.h"
|
||||
#include "ui/models/containers_model.h"
|
||||
#include "ui/models/servers_model.h"
|
||||
#include "ui/models/protocols_model.h"
|
||||
|
||||
class InstallController : public QObject
|
||||
{
|
||||
|
|
@ -15,6 +16,7 @@ class InstallController : public QObject
|
|||
public:
|
||||
explicit InstallController(const QSharedPointer<ServersModel> &serversModel,
|
||||
const QSharedPointer<ContainersModel> &containersModel,
|
||||
const QSharedPointer<ProtocolsModel> &protocolsModel,
|
||||
const std::shared_ptr<Settings> &settings, QObject *parent = nullptr);
|
||||
~InstallController();
|
||||
|
||||
|
|
@ -71,6 +73,7 @@ private:
|
|||
|
||||
QSharedPointer<ServersModel> m_serversModel;
|
||||
QSharedPointer<ContainersModel> m_containersModel;
|
||||
QSharedPointer<ProtocolsModel> m_protocolModel;
|
||||
std::shared_ptr<Settings> m_settings;
|
||||
|
||||
ServerCredentials m_currentlyInstalledServerCredentials;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue