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