From e2a6efba3645357458d5222cd22cd116f86533b7 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 16 May 2024 13:54:49 +0200 Subject: Show upload status when still copying --- src/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui.cpp b/src/gui.cpp index 49dbe17..f46e9c7 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -48,7 +48,7 @@ Gui::Gui(const QString &urlbase, const QString &uuid, int dnbd3pid, const QStrin _tmrStatus->start(2500); QObject::connect(_tmrStatus, &QTimer::timeout, [this]() { Gui::queryRemoteStatus(); - if (_remoteState == STATE_WAITING_FOR_UPLOAD_DONE) { + if (_remoteState == STATE_WAITING_FOR_UPLOAD_DONE || _remoteState == STATE_COPYING) { Gui::readDnbd3Status(); } }); -- cgit v1.2.3-55-g7522