From 2a9d2a4910ae0d9cf5009b962d80275df115143a Mon Sep 17 00:00:00 2001 From: Arnaud Demaiziere Date: Fri, 6 Apr 2007 12:57:41 +0000 Subject: [PATCH] about rss : new streams are aliased by their title --- src/rss.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/rss.h b/src/rss.h index 830e7a476..815c46c78 100644 --- a/src/rss.h +++ b/src/rss.h @@ -241,8 +241,11 @@ class RssStream : public QObject{ if (channel.tagName() == "channel") { QDomElement property = channel.firstChild().toElement(); while(!property.isNull()) { - if (property.tagName() == "title") + if (property.tagName() == "title") { title = property.text(); + if(alias==getUrl()) + setAlias(title); + } else if (property.tagName() == "link") link = property.text(); else if (property.tagName() == "description")