Commit 2b88e121 authored by Aleksei Kanash's avatar Aleksei Kanash

Fixed painting of lcdTimer.

parent 73b9f1b2
...@@ -852,7 +852,6 @@ void MediaTimer::drawSegment(const QPoint &pos, char segmentNo, QPainter &p, ...@@ -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, ...@@ -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: ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment