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);
|
QHashIterator<QString, QVariant> it(m_data);
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
|
it.next();
|
||||||
query.bindValue(":id", it.key());
|
query.bindValue(":id", it.key());
|
||||||
query.bindValue(":datavalue", it.value());
|
query.bindValue(":datavalue", it.value());
|
||||||
if (!query.exec()) {
|
if (!query.exec()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user