mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
RSS code clean up
This commit is contained in:
parent
0d1f9fcc58
commit
fd2ba6f635
7 changed files with 59 additions and 42 deletions
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include <QDebug>
|
||||
|
||||
#include "iconprovider.h"
|
||||
#include "rssfolder.h"
|
||||
#include "rssarticle.h"
|
||||
#include "qbtsession.h"
|
||||
|
@ -225,10 +226,16 @@ void RssFolder::saveItemsToDisk()
|
|||
}
|
||||
}
|
||||
|
||||
QString RssFolder::id() const {
|
||||
QString RssFolder::id() const
|
||||
{
|
||||
return m_name;
|
||||
}
|
||||
|
||||
QIcon RssFolder::icon() const
|
||||
{
|
||||
return IconProvider::instance()->getIcon("inode-directory");
|
||||
}
|
||||
|
||||
bool RssFolder::hasChild(const QString &childId) {
|
||||
return m_children.contains(childId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue