Commit d51f0a938c4c2192d5d84efb912eca0508ce2e7b
1 parent
dcfd897f31
Exists in
master
and in
2 other branches
환경 설정 적용 때 화면 밝기 적용
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/gui/oven_control/config.cpp
| ... | ... | @@ -19,6 +19,7 @@ |
| 19 | 19 | #include "config1digitsetdlg.h" |
| 20 | 20 | #include "configdutywashdlg.h" |
| 21 | 21 | #include "fileprocessor.h" |
| 22 | +#include "backlight.h" | |
| 22 | 23 | |
| 23 | 24 | using namespace Define; |
| 24 | 25 | |
| ... | ... | @@ -155,6 +156,7 @@ bool Config::loadConfig(){ |
| 155 | 156 | |
| 156 | 157 | void Config::applyConfig(){ |
| 157 | 158 | watcher.setDelay(configlist.items.set_auto_darkness.d32); |
| 159 | + Backlight::set(configlist.items.backlight.d32); | |
| 158 | 160 | } |
| 159 | 161 | |
| 160 | 162 | Define::config_item Config::getConfigValue(Define::ConfigType idx){ | ... | ... |