| 385 | } |
| 386 | |
| 387 | void SettingsFragment::onPaletteSelected(int index) |
| 388 | { |
| 389 | if (_lockslot) |
| 390 | { |
| 391 | return; |
| 392 | } |
| 393 | |
| 394 | AppConfig::instance().set(AppConfig::ThemeColors, ui->paletteSelect->itemData(index).toString()); |
| 395 | ui->paletteConfig->setEnabled(AppConfig::instance().get<QString>(AppConfig::ThemeColors) == "custom"); |
| 396 | } |
| 397 | |
| 398 | void SettingsFragment::onBlocklistInvertToggled(bool state) |
| 399 | { |
nothing calls this directly
no test coverage detected