| 22 | } |
| 23 | |
| 24 | void SettingsAgent::setThemeMode(Theme::ThemeMode &theme_mode) |
| 25 | { |
| 26 | if (_config["ThemeMode"].toInt() != static_cast<int>(theme_mode)) { |
| 27 | _config["ThemeMode"] = theme_mode; |
| 28 | emit currentThemeChanged(theme_mode); |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | Qt::WindowStates SettingsAgent::WindowState() const |
| 33 | { |