Convert to C++11 style for loops
This commit is contained in:
parent
92af974894
commit
8b9e31d8e4
3 changed files with 9 additions and 13 deletions
|
|
@ -70,7 +70,8 @@ void DanbooruPool::addPosts(QList< int > posts)
|
|||
|
||||
void DanbooruPool::addPosts(const QStringList& posts)
|
||||
{
|
||||
foreach (const QString& post, posts) {
|
||||
|
||||
for (auto post: posts) {
|
||||
m_posts.append(post.toInt());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue