| 503 | } |
| 504 | |
| 505 | void MainWindow::setThemeIcon() { |
| 506 | if(Global::gTheme == DARK_THEME) { |
| 507 | _darkthemeAct->setIcon(QIcon(ICON_SELECT)); |
| 508 | } else if(Global::gTheme == GRAY_THEME) { |
| 509 | _graythemeAct->setIcon(QIcon(ICON_SELECT)); |
| 510 | } else if(Global::gTheme == PINK_THEME) { |
| 511 | _pinkthemeAct->setIcon(QIcon(ICON_SELECT)); |
| 512 | } else if(Global::gTheme == DEEPDARK_THEME) { |
| 513 | _deepdarkthemeAct->setIcon(QIcon(ICON_SELECT)); |
| 514 | } else { |
| 515 | _nothemeAct->setIcon(QIcon(ICON_SELECT)); |
| 516 | } |
| 517 | } |
| 518 | |
| 519 | void MainWindow::clearThemeIcon() { |
| 520 | if(Global::gTheme == DARK_THEME) { |
nothing calls this directly
no outgoing calls
no test coverage detected