From 2bca3c88d963305f31cc640d8bcd49f004ac6edb Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Thu, 28 Apr 2011 16:01:15 +0200 Subject: [PATCH] calling next() is good --- private/storage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/private/storage.cpp b/private/storage.cpp index 3bd9ccf76..835cfe279 100644 --- a/private/storage.cpp +++ b/private/storage.cpp @@ -151,6 +151,7 @@ void StorageJob::start() QHashIterator it(m_data); while (it.hasNext()) { + it.next(); query.bindValue(":id", it.key()); query.bindValue(":datavalue", it.value()); if (!query.exec()) {