Commit 51ac22adfa4edb047ff1cc69c2d4f5b3abdc9350
1 parent
e63e026460
Exists in
master
and in
2 other branches
소스 코드 정리
Showing
1 changed file
with
0 additions
and
4 deletions
Show diff stats
app/gui/oven_control/multicooktimebar.cpp
| @@ -41,9 +41,6 @@ void MultiCookTimeBar::paintEvent(QPaintEvent */*event*/) | @@ -41,9 +41,6 @@ void MultiCookTimeBar::paintEvent(QPaintEvent */*event*/) | ||
| 41 | QPoint c2(w * 5 / 10, y); | 41 | QPoint c2(w * 5 / 10, y); |
| 42 | QPoint c3(w * 8 / 10, y); | 42 | QPoint c3(w * 8 / 10, y); |
| 43 | 43 | ||
| 44 | -// QFont font = this->font(); | ||
| 45 | -// font.setBold(true); | ||
| 46 | - | ||
| 47 | QRect rect(0, 0, w, h); | 44 | QRect rect(0, 0, w, h); |
| 48 | 45 | ||
| 49 | QTime t = QTime::currentTime(); | 46 | QTime t = QTime::currentTime(); |
| @@ -54,7 +51,6 @@ void MultiCookTimeBar::paintEvent(QPaintEvent */*event*/) | @@ -54,7 +51,6 @@ void MultiCookTimeBar::paintEvent(QPaintEvent */*event*/) | ||
| 54 | 51 | ||
| 55 | QPainter painter(this); | 52 | QPainter painter(this); |
| 56 | painter.setPen(Qt::white); | 53 | painter.setPen(Qt::white); |
| 57 | -// painter.setFont(font); | ||
| 58 | 54 | ||
| 59 | rect.moveCenter(c1); | 55 | rect.moveCenter(c1); |
| 60 | painter.drawText(rect, Qt::AlignCenter, s1); | 56 | painter.drawText(rect, Qt::AlignCenter, s1); |