mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 11:49:01 +03:00
about rss : new streams are aliased by their title
This commit is contained in:
parent
59c6f469a0
commit
2a9d2a4910
1 changed files with 4 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue