From b7fce41348f2c8449e84c3078b67dad7cf78ace5 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 1 Feb 2018 17:15:20 +0900 Subject: Log transferred bytes in PROFILER category --- room.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/room.cpp b/room.cpp index 519f08f5..0e4b1385 100644 --- a/room.cpp +++ b/room.cpp @@ -119,6 +119,9 @@ class Room::Private if (p == 0) p = -1; } + if (p != -1) + qCDebug(PROFILER) << "Transfer progress:" << p << "/" << t + << "=" << llround(double(p) / t * 100) << "%"; progress = p; total = t; } }; -- cgit v1.2.3