Add a function to add posts to pools (unsure if it'll be ever used...)

This commit is contained in:
Luca Beltrame 2013-03-17 11:57:27 +01:00
parent 25fff7f879
commit ed7b5b06d3
2 changed files with 5 additions and 3 deletions

View file

@ -68,9 +68,9 @@ void DanbooruPool::addPosts(QList< int > posts)
m_posts.append(posts);
}
void DanbooruPool::addPosts(QStringList posts)
void DanbooruPool::addPosts(const QStringList& posts)
{
foreach (QString post, posts) {
foreach (const QString& post, posts) {
m_posts.append(post.toInt());
}
}