MCPcopy Create free account
hub / github.com/SeaEpoch/MouseClick / setThemeMode

Method setThemeMode

src/modules/settingsagent.cpp:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void 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
32Qt::WindowStates SettingsAgent::WindowState() const
33{

Callers 1

SettingsPageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected