Commit d56284d9401c7b1aa922bcc409df3a4262b3ab56
1 parent
0da128bb88
Exists in
fhd
예열 종료 시 조리 종료 음향 재생
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
app/gui/oven_control/preheatpopup.cpp
| @@ -4,6 +4,7 @@ | @@ -4,6 +4,7 @@ | ||
| 4 | #include <QKeyEvent> | 4 | #include <QKeyEvent> |
| 5 | 5 | ||
| 6 | #include "stringer.h" | 6 | #include "stringer.h" |
| 7 | +#include "soundplayer.h" | ||
| 7 | 8 | ||
| 8 | PreheatPopup::PreheatPopup(QWidget *parent, Oven *oven) : | 9 | PreheatPopup::PreheatPopup(QWidget *parent, Oven *oven) : |
| 9 | QWidget(parent), | 10 | QWidget(parent), |
| @@ -119,6 +120,8 @@ void PreheatPopup::onOvenChanged() | @@ -119,6 +120,8 @@ void PreheatPopup::onOvenChanged() | ||
| 119 | { | 120 | { |
| 120 | if (oven->currentTemp() >= oven->temp()) | 121 | if (oven->currentTemp() >= oven->temp()) |
| 121 | { | 122 | { |
| 123 | + SoundPlayer::playStop(); | ||
| 124 | + | ||
| 122 | stop(); | 125 | stop(); |
| 123 | close(); | 126 | close(); |
| 124 | } | 127 | } |