| 70 | } |
| 71 | |
| 72 | void VisualMainSettings::whenThemeAdd() { |
| 73 | ColorTheme *temp = new ColorTheme(); |
| 74 | temp->setName(tr("New Theme")); |
| 75 | editSettings->addColorTheme(temp); |
| 76 | resetEditSettings(editSettings); |
| 77 | ui->themeComboBox->setCurrentIndex(editSettings->getColorThemeList().size() - 1); |
| 78 | } |
| 79 | |
| 80 | void VisualMainSettings::whenThemeDelete() { |
| 81 | if (editSettings->getColorThemeList().size() <= 1) |
nothing calls this directly
no test coverage detected