mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Redesign RSS base classes.
This commit is contained in:
committed by
Vladimir Golovnev (qlassez)
parent
6f7ae728eb
commit
28ed981082
@@ -36,11 +36,16 @@ using namespace Rss;
|
||||
|
||||
File::~File() {}
|
||||
|
||||
Folder *File::parentFolder() const
|
||||
{
|
||||
return m_parent;
|
||||
}
|
||||
|
||||
QStringList File::pathHierarchy() const
|
||||
{
|
||||
QStringList path;
|
||||
if (parent())
|
||||
path << parent()->pathHierarchy();
|
||||
if (m_parent)
|
||||
path << m_parent->pathHierarchy();
|
||||
path << id();
|
||||
return path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user