summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Rettberg2024-05-16 14:02:24 +0200
committerSimon Rettberg2024-05-16 14:02:24 +0200
commit20558f1bf1af5d7c47fbb0d38f608fc67c4d90f4 (patch)
tree379a4ecf053289b95425c3b9e5a36605cb2b097d /src
parentShow upload status when still copying (diff)
downloadcowgui-20558f1bf1af5d7c47fbb0d38f608fc67c4d90f4.tar.gz
cowgui-20558f1bf1af5d7c47fbb0d38f608fc67c4d90f4.tar.xz
cowgui-20558f1bf1af5d7c47fbb0d38f608fc67c4d90f4.zip
Lower polling interval from 2500 to 2000 ms
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 f46e9c7..ed0f54c 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -45,7 +45,7 @@ Gui::Gui(const QString &urlbase, const QString &uuid, int dnbd3pid, const QStrin
setupUi();
auto flags = windowFlags() | Qt::WindowStaysOnTopHint;
setWindowFlags(flags & ~(Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint));
- _tmrStatus->start(2500);
+ _tmrStatus->start(2000);
QObject::connect(_tmrStatus, &QTimer::timeout, [this]() {
Gui::queryRemoteStatus();
if (_remoteState == STATE_WAITING_FOR_UPLOAD_DONE || _remoteState == STATE_COPYING) {