| 49 | } |
| 50 | |
| 51 | void VersionListView::reset() |
| 52 | { |
| 53 | if(model()) |
| 54 | { |
| 55 | m_itemCount = model()->rowCount(); |
| 56 | } |
| 57 | else { |
| 58 | m_itemCount = 0; |
| 59 | } |
| 60 | updateEmptyViewPort(); |
| 61 | QTreeView::reset(); |
| 62 | } |
| 63 | |
| 64 | void VersionListView::setEmptyString(QString emptyString) |
| 65 | { |
no test coverage detected