| 469 | } |
| 470 | |
| 471 | void onSelectTheme() { |
| 472 | ThemeItem* item = dynamic_cast<ThemeItem*>(themeList()->getSelectedChild()); |
| 473 | if (item && |
| 474 | item->themeName() != m_pref.theme.selected()) { |
| 475 | m_pref.theme.selected(item->themeName()); |
| 476 | |
| 477 | ui::Alert::show(PACKAGE |
| 478 | "<<You must restart the program to see the selected theme" |
| 479 | "||&OK"); |
| 480 | } |
| 481 | } |
| 482 | |
| 483 | void onOpenThemeFolder() { |
| 484 | ThemeItem* item = dynamic_cast<ThemeItem*>(themeList()->getSelectedChild()); |
nothing calls this directly
no test coverage detected