Commit 7bb572fcbc5058b7e01b6f64813939e167136d85
1 parent
2f7793d70c
Exists in
master
and in
2 other branches
런타임 경고 제거
Showing
2 changed files
with
3 additions
and
10 deletions
Show diff stats
app/gui/oven_control/operationtimeparts.cpp
@@ -51,7 +51,7 @@ OperationTimeParts::OperationTimeParts(QWidget *parent) : | @@ -51,7 +51,7 @@ OperationTimeParts::OperationTimeParts(QWidget *parent) : | ||
51 | m_btnGrops->addButton(m_arrResetBtn[i],i); | 51 | m_btnGrops->addButton(m_arrResetBtn[i],i); |
52 | } | 52 | } |
53 | 53 | ||
54 | - connect(m_btnGrops,SIGNAL(buttonClicked(int)),this,SLOT(on_btnResets_clicked(int))); | 54 | + connect(m_btnGrops,SIGNAL(buttonClicked(int)),this,SLOT(onBtnResetsClicked(int))); |
55 | 55 | ||
56 | if(ovs != NULL){ | 56 | if(ovs != NULL){ |
57 | for( i =0;i<OPERATION_TIME_PARTS_MAX_ITEM;i++){ | 57 | for( i =0;i<OPERATION_TIME_PARTS_MAX_ITEM;i++){ |
@@ -98,13 +98,7 @@ void OperationTimeParts::reloadUi(void){ | @@ -98,13 +98,7 @@ void OperationTimeParts::reloadUi(void){ | ||
98 | } | 98 | } |
99 | } | 99 | } |
100 | } | 100 | } |
101 | - | ||
102 | -void OperationTimeParts::on_btnReset_2_clicked() | ||
103 | -{ | ||
104 | - | ||
105 | -} | ||
106 | - | ||
107 | -void OperationTimeParts::on_btnResets_clicked(int idx){ | 101 | +void OperationTimeParts::onBtnResetsClicked(int idx){ |
108 | qDebug() << "PUSH BUTTON " << idx; | 102 | qDebug() << "PUSH BUTTON " << idx; |
109 | if(idx < OPERATION_TIME_CONTROL_MAX){ | 103 | if(idx < OPERATION_TIME_CONTROL_MAX){ |
110 | if(m_arrUseItems[idx] !=NULL){ | 104 | if(m_arrUseItems[idx] !=NULL){ |
app/gui/oven_control/operationtimeparts.h
@@ -25,8 +25,7 @@ public: | @@ -25,8 +25,7 @@ public: | ||
25 | private slots: | 25 | private slots: |
26 | void on_backButton_clicked(); | 26 | void on_backButton_clicked(); |
27 | 27 | ||
28 | - void on_btnReset_2_clicked(); | ||
29 | - void on_btnResets_clicked(int); | 28 | + void onBtnResetsClicked(int); |
30 | 29 | ||
31 | protected: | 30 | protected: |
32 | void keyPressEvent(QKeyEvent *event); | 31 | void keyPressEvent(QKeyEvent *event); |