This commit is contained in:
brindosch 2017-05-07 18:45:38 +02:00
parent 669e8f9df8
commit 41691b438f

View File

@ -716,7 +716,6 @@ PyObject* Effect::wrapImageDrawPie(PyObject *self, PyObject *args)
// (uint8_t)(data[idx+2]),
// (uint8_t)(data[idx+3])
// ));
}
//set a brush
painter->setBrush(QBrush(Qt::green));
@ -735,7 +734,6 @@ PyObject* Effect::wrapImageDrawPie(PyObject *self, PyObject *args)
return nullptr;
}
}
QPen oldPen = painter->pen();
QPen newPen(QColor(r,g,b,a));
painter->setPen(newPen);