From 2bc03da304be233215dae85ef252cebb223afcda Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 13 Jul 2017 15:40:55 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=B4=ED=8C=8C=EC=9D=BC=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/gui/oven_control/cookbook.cpp | 2 +- app/gui/oven_control/slider.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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; -- 2.1.4