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+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);