mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-28 15:34:16 +00:00
- Fix crash when a new RSS feed is added and its URL is reformatted/simplified by QUrl(URL).toString(). (closes #420116)
This commit is contained in:
parent
e313ae808f
commit
a33094519c
@ -99,10 +99,10 @@ RssFolder* RssFolder::addFolder(QString name) {
|
||||
}
|
||||
|
||||
RssStream* RssFolder::addStream(QString url) {
|
||||
Q_ASSERT(!this->contains(url));
|
||||
RssStream* stream = new RssStream(this, rssmanager, BTSession, url);
|
||||
(*this)[url] = stream;
|
||||
refreshStream(url);
|
||||
Q_ASSERT(!this->contains(stream->getUrl()));
|
||||
(*this)[stream->getUrl()] = stream;
|
||||
refreshStream(stream->getUrl());
|
||||
return stream;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user