Commit 308c613b884b30affec8f960d80d16f0f39fdb13
1 parent
4c5306cddf
Exists in
master
and in
2 other branches
세척 중 오류 시 세척 중단 절차 진입
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
app/gui/oven_control/washwindow.cpp
| @@ -61,7 +61,8 @@ WashWindow::WashWindow(QWidget *parent) : | @@ -61,7 +61,8 @@ WashWindow::WashWindow(QWidget *parent) : | ||
| 61 | 61 | ||
| 62 | setFocus(); | 62 | setFocus(); |
| 63 | 63 | ||
| 64 | - if (OvenStatistics::getInstance()->loadWashState()) | 64 | + OvenStatistics *os = OvenStatistics::getInstance(); |
| 65 | + if (os->loadWashState()) | ||
| 65 | { | 66 | { |
| 66 | // Start Cleaning Steam Generator | 67 | // Start Cleaning Steam Generator |
| 67 | state = RequestClean; | 68 | state = RequestClean; |
| @@ -86,6 +87,8 @@ WashWindow::WashWindow(QWidget *parent) : | @@ -86,6 +87,8 @@ WashWindow::WashWindow(QWidget *parent) : | ||
| 86 | 87 | ||
| 87 | ui->upperStack->setCurrentIndex(1); | 88 | ui->upperStack->setCurrentIndex(1); |
| 88 | } | 89 | } |
| 90 | + | ||
| 91 | + connect(os, SIGNAL(stopClean()), SLOT(stop())); | ||
| 89 | } | 92 | } |
| 90 | 93 | ||
| 91 | WashWindow::~WashWindow() | 94 | WashWindow::~WashWindow() |