| 97 | } |
| 98 | |
| 99 | void QmitkLevelWindowPresetDefinitionDialog::removePreset() |
| 100 | { |
| 101 | QModelIndex index(m_SortModel.mapToSource(m_Controls->presetView->selectionModel()->currentIndex())); |
| 102 | |
| 103 | if (!index.isValid()) |
| 104 | return; |
| 105 | |
| 106 | m_TableModel->removePreset(index); |
| 107 | } |
| 108 | |
| 109 | void QmitkLevelWindowPresetDefinitionDialog::changePreset() |
| 110 | { |
nothing calls this directly
no test coverage detected