fixed warning with QFutureWatcher
- renamed readWireguardConfiguration function to match what it does
This commit is contained in:
parent
e7ed532545
commit
ee609f3e8f
3 changed files with 4 additions and 5 deletions
|
@ -549,10 +549,9 @@ ErrorCode ServerController::installDockerWorker(const ServerCredentials &credent
|
|||
return ErrorCode::NoError;
|
||||
});
|
||||
|
||||
watcher.setFuture(future);
|
||||
|
||||
QEventLoop wait;
|
||||
QObject::connect(&watcher, &QFutureWatcher<ErrorCode>::finished, &wait, &QEventLoop::quit);
|
||||
watcher.setFuture(future);
|
||||
wait.exec();
|
||||
|
||||
m_cancelInstallation = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue