calling next() is good
This commit is contained in:
parent
116442618b
commit
2bca3c88d9
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user