aboutsummaryrefslogtreecommitdiff
path: root/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'room.cpp')
-rw-r--r--room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/room.cpp b/room.cpp
index 6b7484e9..3481f684 100644
--- a/room.cpp
+++ b/room.cpp
@@ -110,13 +110,13 @@ class Room::Private
void update(qint64 p, qint64 t)
{
- progress = p; total = t;
if (t == 0)
{
t = -1;
if (p == 0)
p = -1;
}
+ progress = p; total = t;
}
};
void failedTransfer(const QString& tid, const QString& errorMessage = {})