VCS Linux update
This commit is contained in:
parent
5004c5adde
commit
8e6f46d8d0
@ -72,10 +72,11 @@ void Launcher::update() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Ожидаем завершения процесса rsync
|
// Ожидаем завершения процесса rsync
|
||||||
connect(rsyncProcess, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), [this, rsyncProcess](int, QProcess::ExitStatus) {
|
connect(rsyncProcess, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), [this, rsyncProcess, mainWindow](int, QProcess::ExitStatus) {
|
||||||
qDebug() << "Rsync process finished";
|
qDebug() << "Rsync process finished";
|
||||||
rsyncProcess->deleteLater(); // Удаляем процесс после завершения
|
rsyncProcess->deleteLater(); // Удаляем процесс после завершения
|
||||||
emit updateFinished(); // Сигнализируем о завершении
|
emit updateFinished(); // Сигнализируем о завершении
|
||||||
|
mainWindow->ui->download_bar->setText("");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user