| 22 | } |
| 23 | |
| 24 | auto DevicePathProxyModel::rowCount(const QModelIndex &parent) const -> int |
| 25 | { |
| 26 | if(parent.isValid()) |
| 27 | return 0; |
| 28 | |
| 29 | if(!boot_entry_device_path) |
| 30 | return 0; |
| 31 | |
| 32 | return static_cast<int>(boot_entry_device_path->size()); |
| 33 | } |
| 34 | |
| 35 | auto DevicePathProxyModel::data(const QModelIndex &index, int role) const -> QVariant |
| 36 | { |
nothing calls this directly
no outgoing calls
no test coverage detected