Commit 4c5306cddf33c5a68b2cfc68b23cb7d374b93db6

Authored by 김태훈
1 parent 97cb5d8417
Exists in master and in 2 other branches fhd, fhd-demo

컴파일 경고 제거

app/gui/oven_control/config.cpp
@@ -146,7 +146,7 @@ void Config::initConfig(){ @@ -146,7 +146,7 @@ void Config::initConfig(){
146 bool Config::saveConfig(void){ 146 bool Config::saveConfig(void){
147 char buff[sizeof(config_lists)+1]; 147 char buff[sizeof(config_lists)+1];
148 qint64 writelen; 148 qint64 writelen;
149 - QFile file(CONFIG_FILE_NAME);+ 149 + QFile file(CONFIG_FILE_NAME);
150 memcpy(buff, configlist.data, sizeof(config_lists)); 150 memcpy(buff, configlist.data, sizeof(config_lists));
151 buff[sizeof(config_lists)] = CONFIG_FILE_VER; 151 buff[sizeof(config_lists)] = CONFIG_FILE_VER;
152 if(file.open(QIODevice::WriteOnly)){ 152 if(file.open(QIODevice::WriteOnly)){
app/gui/oven_control/manualviewerdlg.h
@@ -4,10 +4,6 @@ @@ -4,10 +4,6 @@
4 #include <QDialog> 4 #include <QDialog>
5 5
6 #define MAX_MANUAL_PAGE 60 6 #define MAX_MANUAL_PAGE 60
7 -#define START_X 0  
8 -#define START_Y 0  
9 -#define SIZE_WIDTH 900  
10 -#define SIZE_HEIGHT 1450  
11 7
12 #define AUTO_COOK_PAGE 36 8 #define AUTO_COOK_PAGE 36
13 #define MANUAL_COOK_PAGE 30 9 #define MANUAL_COOK_PAGE 30