| 65 | } |
| 66 | |
| 67 | void RecentListView::clearProjects() |
| 68 | { |
| 69 | for (int i = model.rowCount() - 1; i >= 0; --i) { |
| 70 | const auto &item = model.item(i); |
| 71 | if (item->data(IsProject).toBool()) |
| 72 | model.removeRow(i); |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | void RecentListView::clearDocuments() |
| 77 | { |
no test coverage detected