mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Make sure path cannot be null
This commit is contained in:
parent
040e94cab7
commit
17e39f56dd
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ public:
|
|||
virtual QList<RssItem*> getNewsList() const = 0;
|
||||
virtual QList<RssItem*> getUnreadNewsList() const = 0;
|
||||
QStringList getPath() const {
|
||||
QStringList path;
|
||||
QStringList path = "";
|
||||
if(getParent()) {
|
||||
path = ((RssFile*)getParent())->getPath();
|
||||
path.append(getID());
|
||||
|
|
Loading…
Reference in a new issue