More const, more love.
This commit is contained in:
parent
99126ad06f
commit
8f9d3f7aa4
@ -644,8 +644,8 @@ QStringList TtRssServiceRoot::textualFeedIds(const QList<Feed*> &feeds) {
|
|||||||
QStringList stringy_ids;
|
QStringList stringy_ids;
|
||||||
stringy_ids.reserve(feeds.size());
|
stringy_ids.reserve(feeds.size());
|
||||||
|
|
||||||
foreach (Feed *feed, feeds) {
|
foreach (const Feed *feed, feeds) {
|
||||||
stringy_ids.append(QString("'%1'").arg(QString::number(qobject_cast<TtRssFeed*>(feed)->customId())));
|
stringy_ids.append(QString("'%1'").arg(QString::number(qobject_cast<const TtRssFeed*>(feed)->customId())));
|
||||||
}
|
}
|
||||||
|
|
||||||
return stringy_ids;
|
return stringy_ids;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user