Make sure path cannot be null

This commit is contained in:
Christophe Dumez 2010-03-07 21:06:07 +00:00
parent 040e94cab7
commit 17e39f56dd

View file

@ -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());