summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Rettberg2024-05-16 13:54:49 +0200
committerSimon Rettberg2024-05-16 13:54:49 +0200
commite2a6efba3645357458d5222cd22cd116f86533b7 (patch)
tree5c138783d204ac3e4b46fc5287e7cdf655d96678 /src
parentForce 100% upload display on UPLOAD_DONE to avoid confusion (diff)
downloadcowgui-e2a6efba3645357458d5222cd22cd116f86533b7.tar.gz
cowgui-e2a6efba3645357458d5222cd22cd116f86533b7.tar.xz
cowgui-e2a6efba3645357458d5222cd22cd116f86533b7.zip
Show upload status when still copying
Diffstat (limited to 'src')
-rw-r--r--src/gui.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}
});