| 97 | } |
| 98 | |
| 99 | void LogView::repopulate() |
| 100 | { |
| 101 | auto doc = document(); |
| 102 | doc->clear(); |
| 103 | if(!m_model) |
| 104 | { |
| 105 | return; |
| 106 | } |
| 107 | rowsInserted(QModelIndex(), 0, m_model->rowCount() - 1); |
| 108 | } |
| 109 | |
| 110 | void LogView::rowsAboutToBeInserted(const QModelIndex& parent, int first, int last) |
| 111 | { |
nothing calls this directly
no test coverage detected