diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-08-27 09:27:04 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-28 17:07:15 +0200 |
commit | 37320e36cd967a5823dc43fb87ce4342963e4ade (patch) | |
tree | 48291009f428dc681cb52562dc1e8caea05aedda /tests/auto/other/modeltest | |
parent | 62b0f41ae0c2971db5d6e53972d746b0a865a736 (diff) |
Fix some warnings in tests.
- Unused variables
- Signed/Unsigned comparisons.
Change-Id: I0f4cc92a8366ad501d703d19c3358ac24db47270
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'tests/auto/other/modeltest')
-rw-r--r-- | tests/auto/other/modeltest/tst_modeltest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/other/modeltest/tst_modeltest.cpp b/tests/auto/other/modeltest/tst_modeltest.cpp index 33eb4115e6..7960ad16e0 100644 --- a/tests/auto/other/modeltest/tst_modeltest.cpp +++ b/tests/auto/other/modeltest/tst_modeltest.cpp @@ -258,8 +258,8 @@ public slots: void checkPersistent() { for (int row = 0; row < m_persistentProxyIndexes.size(); ++row) { - QModelIndex updatedProxy = m_persistentProxyIndexes.at(row); - QModelIndex updatedSource = m_persistentSourceIndexes.at(row); + m_persistentProxyIndexes.at(row); + m_persistentSourceIndexes.at(row); } for (int row = 0; row < m_persistentProxyIndexes.size(); ++row) { QModelIndex updatedProxy = m_persistentProxyIndexes.at(row); |