MCPcopy Create free account
hub / github.com/deskflow/deskflow / setButtonBoxEnabledButtons

Method setButtonBoxEnabledButtons

src/lib/gui/dialogs/ClientConfigDialog.cpp:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void 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
88void ClientConfigDialog::load()
89{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected