diff options
-rw-r--r-- | Uploader.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Uploader.cpp b/Uploader.cpp index 271d026..aa1f766 100644 --- a/Uploader.cpp +++ b/Uploader.cpp @@ -147,9 +147,13 @@ void Uploader::dataTransferProgress(qint64 done, qint64 total) << static_cast<qint64>(round(done / 1024.0)) << "/" << static_cast<qint64>(round(total / 1024.0)) - << " kB | " + << " KB | " + << static_cast<qint64>(round((m_totalBytes - m_totalBytesLeft + done) / 1024.0 / 1024.0)) + << "/" + << static_cast<qint64>(round(m_totalBytes / 1024.0 / 1024.0)) + << " MB | " << static_cast<qint64>(round(rate * 1024.0 / 1000.0)) - << " kB/s | File ETA: " + << " KB/s | File ETA: " << formatTime(time).toStdString() << " | Total ETA: " << formatTime(totalTime).toStdString(); |