RSS code clean up

This commit is contained in:
Christophe Dumez 2011-01-25 18:07:28 +00:00
parent 587c4f3b14
commit 86b4db75be
6 changed files with 113 additions and 119 deletions

View file

@ -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);