Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/tests/modeltest.cpp
Context not available. | |||||
229 | */ | 229 | */ | ||
---|---|---|---|---|---|
230 | void ModelTest::parent() | 230 | void ModelTest::parent() | ||
231 | { | 231 | { | ||
232 | // Make sure the model wont crash and will return an invalid QModelIndex | 232 | // Make sure the model won't crash and will return an invalid QModelIndex | ||
233 | // when asked for the parent of an invalid index. | 233 | // when asked for the parent of an invalid index. | ||
234 | Q_ASSERT(model->parent(QModelIndex()) == QModelIndex()); | 234 | Q_ASSERT(model->parent(QModelIndex()) == QModelIndex()); | ||
235 | 235 | | |||
Context not available. |