| 78 | } |
| 79 | |
| 80 | void ClientConfigDialog::setButtonBoxEnabledButtons() const |
| 81 | { |
| 82 | const bool modified = isModified(); |
| 83 | ui->buttonBox->button(QDialogButtonBox::Save)->setEnabled(modified); |
| 84 | ui->buttonBox->button(QDialogButtonBox::Reset)->setEnabled(modified); |
| 85 | ui->buttonBox->button(QDialogButtonBox::RestoreDefaults)->setEnabled(!isDefault()); |
| 86 | } |
| 87 | |
| 88 | void ClientConfigDialog::load() |
| 89 | { |
nothing calls this directly
no outgoing calls
no test coverage detected