From d1d566994af6716cd9fd69be745dc87794cd3599 Mon Sep 17 00:00:00 2001 From: byloveletter Date: Tue, 11 Jul 2017 12:39:54 +0900 Subject: [PATCH] =?UTF-8?q?=EC=97=90=EB=9F=AC=20=EB=B0=9C=EC=83=9D=20?= =?UTF-8?q?=EC=8B=9C=EA=B7=B8=EB=84=90=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/gui/oven_control/ovenstatics.cpp | 2 ++ app/gui/oven_control/ovenstatics.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/app/gui/oven_control/ovenstatics.cpp b/app/gui/oven_control/ovenstatics.cpp index 4dfc125..5740909 100644 --- a/app/gui/oven_control/ovenstatics.cpp +++ b/app/gui/oven_control/ovenstatics.cpp @@ -570,6 +570,8 @@ void OvenStatistics::processErrorItems(error_item *item, error_exe_type errtype, item->last_fried = ltime; } + emit onErrorFired(erridx); + if(errtype>=error_type_chkclrstopcmd){ qDebug() << "exec killchild"; if(MainWindow::killChildCook()){ diff --git a/app/gui/oven_control/ovenstatics.h b/app/gui/oven_control/ovenstatics.h index b626e9c..709dc05 100644 --- a/app/gui/oven_control/ovenstatics.h +++ b/app/gui/oven_control/ovenstatics.h @@ -416,6 +416,9 @@ public slots: void onDataChanged(); void oneSecTimerFired(void); void onErrorPopupClosed(int erridx); + +signals: + void onErrorFired(int erridx); }; #endif // OVENSTATICS_H -- 2.1.4