diff --git a/app/gui/oven_control/waterlevelicon.cpp b/app/gui/oven_control/waterlevelicon.cpp index dfc6c49..36bbda9 100644 --- a/app/gui/oven_control/waterlevelicon.cpp +++ b/app/gui/oven_control/waterlevelicon.cpp @@ -1,13 +1,16 @@ #include "waterlevelicon.h" +#include "define.h" #include "udphandler.h" WaterLevelIcon::WaterLevelIcon(QWidget *parent) : QLabel(parent) { +#if MODEL_GRADE != 2 connect(&timer, SIGNAL(timeout()), SLOT(check())); timer.start(1000); check(); +#endif } void WaterLevelIcon::check()