Commit a4a08ab331688def9abb9c932d92f2d335562355
1 parent
8049fb1c68
Exists in
fhd
PSSCO 모델은 수위 아이콘을 표시하지 않음
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
app/gui/oven_control/waterlevelicon.cpp
| 1 | #include "waterlevelicon.h" | 1 | #include "waterlevelicon.h" |
| 2 | 2 | ||
| 3 | +#include "define.h" | ||
| 3 | #include "udphandler.h" | 4 | #include "udphandler.h" |
| 4 | 5 | ||
| 5 | WaterLevelIcon::WaterLevelIcon(QWidget *parent) : QLabel(parent) | 6 | WaterLevelIcon::WaterLevelIcon(QWidget *parent) : QLabel(parent) |
| 6 | { | 7 | { |
| 8 | +#if MODEL_GRADE != 2 | ||
| 7 | connect(&timer, SIGNAL(timeout()), SLOT(check())); | 9 | connect(&timer, SIGNAL(timeout()), SLOT(check())); |
| 8 | timer.start(1000); | 10 | timer.start(1000); |
| 9 | 11 | ||
| 10 | check(); | 12 | check(); |
| 13 | +#endif | ||
| 11 | } | 14 | } |
| 12 | 15 | ||
| 13 | void WaterLevelIcon::check() | 16 | void WaterLevelIcon::check() |