mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-10 04:11:16 +00:00
Make sure path cannot be null
This commit is contained in:
parent
040e94cab7
commit
17e39f56dd
@ -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…
x
Reference in New Issue
Block a user