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

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

Loading…
Cancel
Save