mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
.
This commit is contained in:
parent
669e8f9df8
commit
41691b438f
@ -716,7 +716,6 @@ PyObject* Effect::wrapImageDrawPie(PyObject *self, PyObject *args)
|
|||||||
// (uint8_t)(data[idx+2]),
|
// (uint8_t)(data[idx+2]),
|
||||||
// (uint8_t)(data[idx+3])
|
// (uint8_t)(data[idx+3])
|
||||||
// ));
|
// ));
|
||||||
}
|
|
||||||
|
|
||||||
//set a brush
|
//set a brush
|
||||||
painter->setBrush(QBrush(Qt::green));
|
painter->setBrush(QBrush(Qt::green));
|
||||||
@ -735,7 +734,6 @@ PyObject* Effect::wrapImageDrawPie(PyObject *self, PyObject *args)
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QPen oldPen = painter->pen();
|
QPen oldPen = painter->pen();
|
||||||
QPen newPen(QColor(r,g,b,a));
|
QPen newPen(QColor(r,g,b,a));
|
||||||
painter->setPen(newPen);
|
painter->setPen(newPen);
|
||||||
|
Loading…
Reference in New Issue
Block a user