summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/itemmodels/qitemmodel
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2013-01-27 12:58:38 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-28 18:12:41 +0100
commit7bb43454b83ab0f055248b80defe0b985e59ed64 (patch)
tree0d12866181c5c5ff7600889eb9f151c471235cfc /tests/auto/corelib/itemmodels/qitemmodel
parent5f71203dd0129de76220f7a3198111a0d2186667 (diff)
Fix minor typos in docs, printed messages & comments
Missing apostrophes Change-Id: I3ef5e9d494fb7a37f8e6075f24cd3a274e572c23 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'tests/auto/corelib/itemmodels/qitemmodel')
-rw-r--r--tests/auto/corelib/itemmodels/qitemmodel/modelstotest.cpp2
-rw-r--r--tests/auto/corelib/itemmodels/qitemmodel/tst_qitemmodel.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/itemmodels/qitemmodel/modelstotest.cpp b/tests/auto/corelib/itemmodels/qitemmodel/modelstotest.cpp
index ef4983fb72..02bdb9775a 100644
--- a/tests/auto/corelib/itemmodels/qitemmodel/modelstotest.cpp
+++ b/tests/auto/corelib/itemmodels/qitemmodel/modelstotest.cpp
@@ -67,7 +67,7 @@ public:
void cleanupTestArea(QAbstractItemModel *model);
enum Read {
- ReadOnly, // wont perform remove(), insert(), and setData()
+ ReadOnly, // won't perform remove(), insert(), and setData()
ReadWrite
};
enum Contains {
diff --git a/tests/auto/corelib/itemmodels/qitemmodel/tst_qitemmodel.cpp b/tests/auto/corelib/itemmodels/qitemmodel/tst_qitemmodel.cpp
index b5e75601a8..30434bfd56 100644
--- a/tests/auto/corelib/itemmodels/qitemmodel/tst_qitemmodel.cpp
+++ b/tests/auto/corelib/itemmodels/qitemmodel/tst_qitemmodel.cpp
@@ -478,7 +478,7 @@ void tst_QItemModel::parent()
currentModel = testModels->createModel(modelType);
QVERIFY(currentModel);
- // Make sure the model wont crash and will return an invalid QModelIndex
+ // Make sure the model won't crash and will return an invalid QModelIndex
// when asked for the parent of an invalid index.
QCOMPARE(currentModel->parent(QModelIndex()), QModelIndex());