mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
rss : bug fix
This commit is contained in:
parent
953a99ee90
commit
e0261295db
@ -378,14 +378,9 @@ class RssManager{
|
||||
void removeStream(RssStream* stream){
|
||||
short index = hasStream(stream);
|
||||
if(index != -1){
|
||||
unsigned int streamListSize = streamList.size();
|
||||
for(unsigned int i=0; i<streamListSize; ++i){
|
||||
if(getStream(i)->getUrl() == stream->getUrl()){
|
||||
delete streamList.takeAt(i);
|
||||
}
|
||||
}
|
||||
delete streamList.takeAt(index);
|
||||
streamListUrl.removeAt(index);
|
||||
streamListAlias.removeAt(index);
|
||||
streamListAlias.removeAt(index);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user