| 359 | } |
| 360 | |
| 361 | void SettingsFragment::onSystrayToggled() |
| 362 | { |
| 363 | if (_lockslot) |
| 364 | { |
| 365 | return; |
| 366 | } |
| 367 | |
| 368 | AppConfig::instance().set(AppConfig::TrayIconEnabled, ui->systray_r_showtray->isChecked()); |
| 369 | ui->systray_icon_box->setEnabled(ui->systray_r_showtray->isChecked()); |
| 370 | ui->menu_edit->setEnabled(ui->systray_r_showtray->isChecked()); |
| 371 | if(!ui->systray_r_showtray->isChecked()) { |
| 372 | ui->systray_minOnBoot->setChecked(false); |
| 373 | onAutoStartToggled(); |
| 374 | } |
| 375 | } |
| 376 | |
| 377 | void SettingsFragment::onThemeSelected(int index) |
| 378 | { |
nothing calls this directly
no test coverage detected