1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 14:57:52 +00:00

- Added some more debug

This commit is contained in:
Christophe Dumez 2007-09-09 09:20:01 +00:00
parent e1ead940be
commit 47c1908519

View File

@ -162,6 +162,8 @@ void bittorrent::updateETAs() {
unsigned int nbETAs = listEtas.size();
Q_ASSERT(nbETAs);
foreach(val, listEtas) {
// TODO: Remove this debug when #137223 is fixed
qDebug("old moy: %ld", (long)moy);
moy += (qlonglong)((double)val/(double)nbETAs);
qDebug("ETA: %ld, nbETAs: %d, moy: %ld", (long)val, nbETAs, (long)moy);
Q_ASSERT(moy >= 0);