| 456 | } |
| 457 | |
| 458 | void ExportInstanceDialog::rowsInserted(QModelIndex parent, int top, int bottom) |
| 459 | { |
| 460 | //WARNING: possible off-by-one? |
| 461 | for(int i = top; i < bottom; i++) |
| 462 | { |
| 463 | auto node = proxyModel->index(i, 0, parent); |
| 464 | if(proxyModel->shouldExpand(node)) |
| 465 | { |
| 466 | auto expNode = node.parent(); |
| 467 | if(!expNode.isValid()) |
| 468 | { |
| 469 | continue; |
| 470 | } |
| 471 | ui->treeView->expand(node); |
| 472 | } |
| 473 | } |
| 474 | } |
| 475 | |
| 476 | QString ExportInstanceDialog::ignoreFileName() |
| 477 | { |
nothing calls this directly
no test coverage detected