added a button to scan the server for already installed containers
- refactoring of old code, redundant sections of code removed
This commit is contained in:
parent
480b2181f0
commit
2580475f67
12 changed files with 136 additions and 98 deletions
|
@ -17,7 +17,6 @@ void NewServerProtocolsLogic::onUpdatePage()
|
|||
|
||||
void NewServerProtocolsLogic::onPushButtonConfigureClicked(DockerContainer c, int port, TransportProto tp)
|
||||
{
|
||||
QMap<DockerContainer, QJsonObject> containers;
|
||||
Proto mainProto = ContainerProps::defaultProtocol(c);
|
||||
|
||||
QJsonObject config {
|
||||
|
@ -28,8 +27,8 @@ void NewServerProtocolsLogic::onPushButtonConfigureClicked(DockerContainer c, in
|
|||
}
|
||||
};
|
||||
|
||||
containers.insert(c, config);
|
||||
QPair<DockerContainer, QJsonObject> container(c, config);
|
||||
|
||||
uiLogic()->installServer(containers);
|
||||
uiLogic()->installServer(container);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue