mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
RSS code clean up
This commit is contained in:
parent
587c4f3b14
commit
86b4db75be
6 changed files with 113 additions and 119 deletions
|
@ -128,7 +128,7 @@ void RssManager::saveStreamList(){
|
|||
|
||||
void RssManager::insertSortElem(QList<RssArticle*> &list, RssArticle *item) {
|
||||
int i = 0;
|
||||
while(i < list.size() && item->getDate() < list.at(i)->getDate()) {
|
||||
while(i < list.size() && item->date() < list.at(i)->date()) {
|
||||
++i;
|
||||
}
|
||||
list.insert(i, item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue