diff --git a/app/gui/oven_control/cookbook.cpp b/app/gui/oven_control/cookbook.cpp index d655de8..0b38472 100644 --- a/app/gui/oven_control/cookbook.cpp +++ b/app/gui/oven_control/cookbook.cpp @@ -57,7 +57,7 @@ CookBook::CookBook(Define::CookType type) } int cookNameSection; - Define::language_type lang = (Define::language_type) Config::getConfigValue(Define::config_language).d32; + Define::language_type lang = (Define::language_type) Config::getInstance()->getConfigValue(Define::config_language).d32; switch (lang) { case Define::language_kr: diff --git a/app/gui/oven_control/slider.h b/app/gui/oven_control/slider.h index 14c6a88..051bd12 100644 --- a/app/gui/oven_control/slider.h +++ b/app/gui/oven_control/slider.h @@ -18,11 +18,11 @@ class Slider : public QWidget QPixmap sub; QPixmap handle; - int grooveMin; - int grooveMax; + int minSliderX; + int maxSliderX; - QPoint groovePoint; - QPoint subPoint; + QPoint grooveLeftTop; + QPoint subLeftTop; bool subVisible_; bool focused;