- Removed some useless debug in downloadThread and added a little more interesting one

- Updated TODO
This commit is contained in:
Christophe Dumez 2007-07-22 04:14:44 +00:00
parent e1e28fa9ff
commit d3793d180c
3 changed files with 6 additions and 12 deletions

View file

@ -149,6 +149,7 @@ class RssStream : public QObject{
// display the icon in the rss window
void displayIcon(const QString&, const QString& file_path) {
iconPath = file_path;
qDebug("Icon tmp path is %s", (const char*) file_path.toUtf8());
openIcon();
emit refreshFinished(url, ICON);
}
@ -175,8 +176,8 @@ class RssStream : public QObject{
delete downloaderIcon;
if(QFile::exists(filePath))
QFile::remove(filePath);
if(QFile::exists(iconPath) && iconPath!=":/Icons/rss.png")
QFile::remove(iconPath);
if(QFile::exists(iconPath) && !iconPath.startsWith(":/"))
QFile::remove(iconPath);
}
// delete all the items saved