More const, more love.

This commit is contained in:
Martin Rotter 2016-01-17 18:48:19 +01:00
parent 99126ad06f
commit 8f9d3f7aa4
1 changed files with 2 additions and 2 deletions

View File

@ -644,8 +644,8 @@ QStringList TtRssServiceRoot::textualFeedIds(const QList<Feed*> &feeds) {
QStringList stringy_ids;
stringy_ids.reserve(feeds.size());
foreach (Feed *feed, feeds) {
stringy_ids.append(QString("'%1'").arg(QString::number(qobject_cast<TtRssFeed*>(feed)->customId())));
foreach (const Feed *feed, feeds) {
stringy_ids.append(QString("'%1'").arg(QString::number(qobject_cast<const TtRssFeed*>(feed)->customId())));
}
return stringy_ids;