calling next() is good

This commit is contained in:
Aaron Seigo 2011-04-28 16:01:15 +02:00 committed by Marco Martin
parent 116442618b
commit 2bca3c88d9

View File

@ -151,6 +151,7 @@ void StorageJob::start()
QHashIterator<QString, QVariant> it(m_data);
while (it.hasNext()) {
it.next();
query.bindValue(":id", it.key());
query.bindValue(":datavalue", it.value());
if (!query.exec()) {