| 427 | } |
| 428 | |
| 429 | void SettingsFragment::onTrayEditorReset() |
| 430 | { |
| 431 | QMessageBox::StandardButton reply = QMessageBox::question(this, tr("Warning"), tr("Do you really want to restore the default menu layout?"), |
| 432 | QMessageBox::Yes | QMessageBox::No); |
| 433 | |
| 434 | if (reply == QMessageBox::Yes) |
| 435 | { |
| 436 | ui->menu_edit->setTargetMenu(_trayIcon->buildDefaultActions()); |
| 437 | _trayIcon->updateTrayMenu(ui->menu_edit->exportMenu()); |
| 438 | } |
| 439 | } |
| 440 | |
| 441 | void SettingsFragment::onEqualizerHandlesToggled() |
| 442 | { |
nothing calls this directly
no test coverage detected