Fixed painting of lcdTimer.

preferencesAboutTextFull
Aleksei Kanash 12 years ago
parent 73b9f1b265
commit 2b88e1212c
  1. 3
      src/domain/UBGraphicsItemDelegate.cpp
  2. 2
      src/domain/UBGraphicsItemDelegate.h

@ -852,7 +852,6 @@ void MediaTimer::drawSegment(const QPoint &pos, char segmentNo, QPainter &p,
#define LIGHT #define LIGHT
#define DARK #define DARK
if (fill) {
QPolygon a(0); QPolygon a(0);
switch (segmentNo) { switch (segmentNo) {
case 0 : case 0 :
@ -973,7 +972,7 @@ void MediaTimer::drawSegment(const QPoint &pos, char segmentNo, QPainter &p,
p.setBrush(Qt::NoBrush); p.setBrush(Qt::NoBrush);
pt = pos; pt = pos;
}
#undef LINETO #undef LINETO
#undef LIGHT #undef LIGHT
#undef DARK #undef DARK

@ -95,8 +95,6 @@ private:
QBitArray points; QBitArray points;
double val; double val;
uint fill : 1;
uint shadow : 1; uint shadow : 1;
uint smallPoint : 1; uint smallPoint : 1;

Loading…
Cancel
Save