- BUGFIX: Don't save RSS feed state if it could not be updated

This commit is contained in:
Christophe Dumez
2009-08-19 06:39:16 +00:00
parent a66dc5924d
commit 16fd7fd0af
2 changed files with 5 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
- BUGFIX: Display real save path instead of the temporary one in torrent properties
- BUGFIX: Catching invalid_handle exception to avoid rare crashes
- BUGFIX: Fixed popup menu position in RSS feeds list
- BUGFIX: Don't save RSS feed state if it could not be updated
* Thu Aug 13 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.4.0
- FEATURE: Display swarm information in lists

View File

@@ -329,8 +329,10 @@ class RssStream : public QObject{
}
~RssStream(){
QSettings qBTRSS("qBittorrent-rss");
qBTRSS.setValue(url, getAllReadHashes());
if(refreshed) {
QSettings qBTRSS("qBittorrent-rss");
qBTRSS.setValue(url, getAllReadHashes());
}
removeAllItems();
if(QFile::exists(filePath))
QFile::remove(filePath);