summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-24 16:42:11 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-26 00:34:40 +0200
commitc4fbe872be1316f2fd65aa62863d6617cb129a3f (patch)
treec4fd8ad3b714c0362db5de4945685e0a3775a65d /src/sql
parent576d4a1cce4a58cca9dddfb8b3878b66169aabcf (diff)
Itemviews: compile with QT_STRICT_ITERATORS
Just a few mixed up iterators. Change-Id: I19f62457ee24bc844fadd182ba61866e259e9636 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/models/qsqltablemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sql/models/qsqltablemodel.cpp b/src/sql/models/qsqltablemodel.cpp
index 30c3f032e0..ddec24709f 100644
--- a/src/sql/models/qsqltablemodel.cpp
+++ b/src/sql/models/qsqltablemodel.cpp
@@ -691,7 +691,7 @@ bool QSqlTableModel::submitAll()
bool success = true;
for (QSqlTableModelPrivate::CacheMap::Iterator it = d->cache.begin();
- it != d->cache.constEnd(); ++it) {
+ it != d->cache.end(); ++it) {
if (it.value().submitted())
continue;