From 17e39f56dd787b74abdef8785a88fcc74ea9f3e8 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 7 Mar 2010 21:06:07 +0000 Subject: [PATCH] Make sure path cannot be null --- src/rss.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rss.h b/src/rss.h index 5c0d58730..a3b247a05 100644 --- a/src/rss.h +++ b/src/rss.h @@ -108,7 +108,7 @@ public: virtual QList getNewsList() const = 0; virtual QList getUnreadNewsList() const = 0; QStringList getPath() const { - QStringList path; + QStringList path = ""; if(getParent()) { path = ((RssFile*)getParent())->getPath(); path.append(getID());