| 512 | } |
| 513 | |
| 514 | void OptionsDialog::dialogButtonClicked(QAbstractButton *button) |
| 515 | { |
| 516 | if (ui.buttonBox->buttonRole(button) == QDialogButtonBox::ResetRole) { |
| 517 | QPushButton *pb = qobject_cast<QPushButton *>(button); |
| 518 | pb->showMenu(); |
| 519 | } |
| 520 | } |
| 521 | |
| 522 | void OptionsDialog::restoreDefaults() |
| 523 | { |
nothing calls this directly
no outgoing calls
no test coverage detected