mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
- Qt 4.4 fix
This commit is contained in:
parent
9a68e0cc25
commit
4d1ef40f6e
@ -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…
x
Reference in New Issue
Block a user