| 490 | } |
| 491 | |
| 492 | void MainWindow::onAppConfigUpdated(const AppConfig::Key &key, const QVariant &value) |
| 493 | { |
| 494 | switch(key) |
| 495 | { |
| 496 | case AppConfig::EqualizerShowHandles: |
| 497 | ui->eq_widget->setAlwaysDrawHandles(value.toBool()); |
| 498 | ui->comp_response->setAlwaysDrawHandles(value.toBool()); |
| 499 | break; |
| 500 | case AppConfig::TrayIconEnabled: |
| 501 | _trayIcon->setTrayVisible(value.toBool()); |
| 502 | break; |
| 503 | default: |
| 504 | break; |
| 505 | } |
| 506 | } |
| 507 | |
| 508 | // Fragment handler |
| 509 | void MainWindow::onFragmentRequested() |
nothing calls this directly
no test coverage detected