Здравствуйте.Я создал функцию поиска:КодC++ (Qt) QModelIndex index = ui->treeView->model()->index(0, 0); QModelIndexList indexes = ui->treeView->model()->match(index, Qt:

isplayRole, QVariant( ui->editFind->text() ), 1, Qt::MatchFlags(Qt::MatchRecursive | Qt::MatchFixedString | Qt::MatchStartsWith)); if( !indexes.isEmpty() ) { index = indexes.at( iCurrSearch ); ui->treeView->setCurrentIndex( index ); }Ищет только первое совпадение, в indexes.count() всегда 1, хотя записей есть больше. Подскажите пожалуйста в чем могут быть грабли?