Commit 804bfda9 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Remove useless assert

(cherry picked from commit e11edf31e43ce0c35f805162a600e9169340f3e8)
parent 8e3f993a
......@@ -1483,9 +1483,6 @@ void KisPainter::drawPainterPath(const QPainterPath& path, const QPen& pen)
void KisPainter::drawPainterPath(const QPainterPath& path, const QPen& _pen, const QRect &requestedRect)
{
// we are drawing mask, it has to be white
// color of the path is given by paintColor()
KIS_SAFE_ASSERT_RECOVER_NOOP(_pen.color() == Qt::white);
QPen pen(_pen);
pen.setColor(Qt::white);
......
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