mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
rss : bug fix
This commit is contained in:
parent
953a99ee90
commit
e0261295db
1 changed files with 2 additions and 7 deletions
|
@ -378,14 +378,9 @@ class RssManager{
|
||||||
void removeStream(RssStream* stream){
|
void removeStream(RssStream* stream){
|
||||||
short index = hasStream(stream);
|
short index = hasStream(stream);
|
||||||
if(index != -1){
|
if(index != -1){
|
||||||
unsigned int streamListSize = streamList.size();
|
delete streamList.takeAt(index);
|
||||||
for(unsigned int i=0; i<streamListSize; ++i){
|
|
||||||
if(getStream(i)->getUrl() == stream->getUrl()){
|
|
||||||
delete streamList.takeAt(i);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
streamListUrl.removeAt(index);
|
streamListUrl.removeAt(index);
|
||||||
streamListAlias.removeAt(index);
|
streamListAlias.removeAt(index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue