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 | 61 | |
| 62 | 62 | setFocus(); |
| 63 | 63 | |
| 64 | - if (OvenStatistics::getInstance()->loadWashState()) | |
| 64 | + OvenStatistics *os = OvenStatistics::getInstance(); | |
| 65 | + if (os->loadWashState()) | |
| 65 | 66 | { |
| 66 | 67 | // Start Cleaning Steam Generator |
| 67 | 68 | state = RequestClean; |
| ... | ... | @@ -86,6 +87,8 @@ WashWindow::WashWindow(QWidget *parent) : |
| 86 | 87 | |
| 87 | 88 | ui->upperStack->setCurrentIndex(1); |
| 88 | 89 | } |
| 90 | + | |
| 91 | + connect(os, SIGNAL(stopClean()), SLOT(stop())); | |
| 89 | 92 | } |
| 90 | 93 | |
| 91 | 94 | WashWindow::~WashWindow() | ... | ... |