From 12fd87ab858e0dd6238b2dd1a5511aa829671fe4 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 11 Aug 2007 14:54:24 +0000 Subject: [PATCH] - Removed some debug (didn't mean to commit that) --- src/GUI.cpp | 2 +- src/bittorrent.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index 8f3b44206..773c364ab 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -616,7 +616,7 @@ void GUI::updateDlList(bool force){ case torrent_status::downloading: case torrent_status::downloading_metadata: if(torrentStatus.download_payload_rate > 0){ - qDebug("%s is downloading", (const char*)fileHash.toUtf8()); + //qDebug("%s is downloading", (const char*)fileHash.toUtf8()); DLListModel->setData(DLListModel->index(row, NAME), QVariant(QIcon(":/Icons/skin/downloading.png")), Qt::DecorationRole); DLListModel->setData(DLListModel->index(row, ETA), QVariant((qlonglong)BTSession->getETA(fileHash))); setRowColor(row, "green"); diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 7bf646727..a3d593acf 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -469,6 +469,7 @@ bool bittorrent::hasFilteredFiles(QString fileHash) const{ return false; } +// For debug only void bittorrent::printPausedTorrents(){ QString hash; qDebug("Paused Torrents:"); @@ -695,7 +696,7 @@ void bittorrent::saveFastResumeAndRatioData(){ QString fileHash = QString(misc::toString(h.info_hash()).c_str()); while(!receivedPausedAlert(fileHash)){ qDebug("Sleeping while waiting that %s is paused", misc::toString(h.info_hash()).c_str()); - printPausedTorrents(); + //printPausedTorrents(); SleeperThread::msleep(500); readAlerts(); }