From 4c5306cddf33c5a68b2cfc68b23cb7d374b93db6 Mon Sep 17 00:00:00 2001 From: taehoon Date: Thu, 28 Jan 2021 11:55:48 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=B4=ED=8C=8C=EC=9D=BC=20=EA=B2=BD?= =?UTF-8?q?=EA=B3=A0=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/config.cpp | 2 +- app/gui/oven_control/manualviewerdlg.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/gui/oven_control/config.cpp b/app/gui/oven_control/config.cpp index 9d6c107..5b6855d 100644 --- a/app/gui/oven_control/config.cpp +++ b/app/gui/oven_control/config.cpp @@ -146,7 +146,7 @@ void Config::initConfig(){ bool Config::saveConfig(void){ char buff[sizeof(config_lists)+1]; qint64 writelen; - QFile file(CONFIG_FILE_NAME);+ + QFile file(CONFIG_FILE_NAME); memcpy(buff, configlist.data, sizeof(config_lists)); buff[sizeof(config_lists)] = CONFIG_FILE_VER; if(file.open(QIODevice::WriteOnly)){ diff --git a/app/gui/oven_control/manualviewerdlg.h b/app/gui/oven_control/manualviewerdlg.h index bee82b2..a85a968 100644 --- a/app/gui/oven_control/manualviewerdlg.h +++ b/app/gui/oven_control/manualviewerdlg.h @@ -4,10 +4,6 @@ #include #define MAX_MANUAL_PAGE 60 -#define START_X 0 -#define START_Y 0 -#define SIZE_WIDTH 900 -#define SIZE_HEIGHT 1450 #define AUTO_COOK_PAGE 36 #define MANUAL_COOK_PAGE 30 -- 2.1.4