mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user