| 56 | } |
| 57 | |
| 58 | void PresetRuleDialog::showEvent(QShowEvent *event) |
| 59 | { |
| 60 | ruleModel->load(); |
| 61 | deviceModel->load(service->outputDevices()); |
| 62 | presetModel->rescan(); |
| 63 | |
| 64 | QDialog::showEvent(event); |
| 65 | } |
| 66 | |
| 67 | void PresetRuleDialog::onAddClicked() |
| 68 | { |
nothing calls this directly
no test coverage detected