MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / dialogButtonClicked

Method dialogButtonClicked

dialogs/optionsdialog.cpp:514–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512}
513
514void 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
522void OptionsDialog::restoreDefaults()
523{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected