From c19937cf98948b5712b105fe80d99d1deba9c3b6 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 29 Jul 2007 14:58:18 +0000 Subject: [PATCH] - removed some useless debug --- src/FinishedTorrents.cpp | 2 -- src/rss.h | 10 ---------- 2 files changed, 12 deletions(-) diff --git a/src/FinishedTorrents.cpp b/src/FinishedTorrents.cpp index 1d0145a38..d270be2ed 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -107,8 +107,6 @@ void FinishedTorrents::addFinishedSHA(QString hash){ // Update the number of finished torrents ++nbFinished; ((GUI*)parent)->setTabText(1, tr("Finished") +" ("+QString(misc::toString(nbFinished).c_str())+")"); - } else { - qDebug("Problem: this torrent (%s) has finished twice...", hash.toStdString().c_str()); } } diff --git a/src/rss.h b/src/rss.h index caa0cde4f..02cead3a7 100644 --- a/src/rss.h +++ b/src/rss.h @@ -154,32 +154,24 @@ class RssStream : public QObject{ // display the icon in the rss window void displayIcon(QString, QString file_path) { iconPath = file_path; - qDebug("Icon tmp path is %s", (const char*) file_path.toUtf8()); openIcon(); emit refreshFinished(url, ICON); } public: RssStream(QString _url) { - qDebug("New rss stream created"); url = _url; alias = url; read = true; downloadFailure = false; - qDebug("Creating rss & ico downloadThreads"); downloaderRss = new downloadThread(this); downloaderIcon = new downloadThread(this); - qDebug("RSS & ico downloaders created"); connect(downloaderRss, SIGNAL(downloadFinished(QString, QString)), this, SLOT(processDownloadedFile(QString, QString))); connect(downloaderRss, SIGNAL(downloadFailure(QString, QString)), this, SLOT(handleDownloadFailure(QString, QString))); - qDebug("RSS is calling downloadUrl"); downloaderRss->downloadUrl(url); - qDebug("downloadUrl called, ok"); // XXX: remove it when gif can be displayed iconPath = ":/Icons/rss.png"; - qDebug("Calling getIcon"); getIcon(); - qDebug("getIcon called"); lastRefresh.start(); qDebug("RSSStream constructed"); } @@ -460,9 +452,7 @@ class RssManager : public QObject{ unsigned int streamListUrlSize = streamListUrl.size(); for(unsigned int i=0; isetAlias(streamListAlias.at(i)); - qDebug("RSS Alias set"); streamList.append(stream); connect(stream, SIGNAL(refreshFinished(QString, const unsigned short&)), this, SLOT(streamNeedRefresh(QString, const unsigned short&))); }