diff options
author | Simon Rettberg | 2024-05-16 14:02:24 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-16 14:02:24 +0200 |
commit | 20558f1bf1af5d7c47fbb0d38f608fc67c4d90f4 (patch) | |
tree | 379a4ecf053289b95425c3b9e5a36605cb2b097d /src | |
parent | Show upload status when still copying (diff) | |
download | cowgui-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.cpp | 2 |
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) { |