mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
reset file
This commit is contained in:
@@ -431,7 +431,9 @@ void InstallUiController::removeContainer(const QString &serverId, int container
|
|||||||
DockerContainer container = static_cast<DockerContainer>(containerIndex);
|
DockerContainer container = static_cast<DockerContainer>(containerIndex);
|
||||||
QString containerName = ContainerUtils::containerHumanNames().value(container);
|
QString containerName = ContainerUtils::containerHumanNames().value(container);
|
||||||
|
|
||||||
if (container == DockerContainer::Xray || container == DockerContainer::SSXray) {
|
const bool asyncRemove = container == DockerContainer::Xray || container == DockerContainer::SSXray;
|
||||||
|
|
||||||
|
if (asyncRemove) {
|
||||||
emit serverIsBusy(true);
|
emit serverIsBusy(true);
|
||||||
auto *watcher = new QFutureWatcher<ErrorCode>(this);
|
auto *watcher = new QFutureWatcher<ErrorCode>(this);
|
||||||
QObject::connect(watcher, &QFutureWatcher<ErrorCode>::finished, this,
|
QObject::connect(watcher, &QFutureWatcher<ErrorCode>::finished, this,
|
||||||
|
|||||||
Reference in New Issue
Block a user