fix moved to if-statement

This commit is contained in:
dranik
2026-06-04 15:53:24 +03:00
parent 1c32561dd4
commit 17b34f7891
@@ -431,9 +431,7 @@ void InstallUiController::removeContainer(const QString &serverId, int container
DockerContainer container = static_cast<DockerContainer>(containerIndex);
QString containerName = ContainerUtils::containerHumanNames().value(container);
const bool asyncRemove = container == DockerContainer::Xray || container == DockerContainer::SSXray;
if (asyncRemove) {
if (container == DockerContainer::Xray || container == DockerContainer::SSXray) {
emit serverIsBusy(true);
auto *watcher = new QFutureWatcher<ErrorCode>(this);
QObject::connect(watcher, &QFutureWatcher<ErrorCode>::finished, this,