| 58 | } |
| 59 | |
| 60 | void DevicePathView::removeCurrentRow() const |
| 61 | { |
| 62 | if(readonly) |
| 63 | return; |
| 64 | |
| 65 | auto index = currentIndex(); |
| 66 | if(!index.isValid() || !model()->checkIndex(index)) |
| 67 | return; |
| 68 | |
| 69 | auto row = index.row(); |
| 70 | model()->removeRow(row); |
| 71 | } |
| 72 | |
| 73 | void DevicePathView::moveCurrentRowUp() |
| 74 | { |
nothing calls this directly
no outgoing calls
no test coverage detected