Browse Source

- Qt 4.4 fix

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
4d1ef40f6e
  1. 4
      src/rss.cpp

4
src/rss.cpp

@ -120,7 +120,7 @@ void RssFolder::refresh() {
QList<RssItem*> RssFolder::getNewsList() const { QList<RssItem*> RssFolder::getNewsList() const {
QList<RssItem*> news; QList<RssItem*> news;
foreach(RssFile *child, this->values()) { foreach(RssFile *child, this->values()) {
news.append(child->getNewsList()); news << child->getNewsList();
} }
return news; return news;
} }
@ -128,7 +128,7 @@ QList<RssItem*> RssFolder::getNewsList() const {
QList<RssItem*> RssFolder::getUnreadNewsList() const { QList<RssItem*> RssFolder::getUnreadNewsList() const {
QList<RssItem*> unread_news; QList<RssItem*> unread_news;
foreach(RssFile *child, this->values()) { foreach(RssFile *child, this->values()) {
unread_news.append(child->getUnreadNewsList()); unread_news << child->getUnreadNewsList();
} }
return unread_news; return unread_news;
} }

Loading…
Cancel
Save