This commit is contained in:
Nyall Dawson 2020-02-07 14:38:57 +10:00
parent 57bba33fa7
commit 6340fb5591

View File

@ -237,7 +237,7 @@ void ModelTest::index()
*/
void ModelTest::parent()
{
// 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.
Q_ASSERT( model->parent( QModelIndex() ) == QModelIndex() );