mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Removed some useless debug in downloadThread and added a little more interesting one
- Updated TODO
This commit is contained in:
parent
e1e28fa9ff
commit
d3793d180c
3 changed files with 6 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue