proper filling when using Qt::TexturePattern
fix for using both Qt::OpaqueMode and Qt::TexturePatter for filling Task-number: QTBUG-19202 Change-Id: Ia92363cacaa51140fe78b542d9768aead81868ff Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
This commit is contained in:
parent
5281cba808
commit
b0a6c521ab
@ -80,7 +80,7 @@ void QEmulationPaintEngine::fill(const QVectorPath &path, const QBrush &brush)
|
||||
|
||||
if (s->bgMode == Qt::OpaqueMode) {
|
||||
Qt::BrushStyle style = brush.style();
|
||||
if (style >= Qt::Dense1Pattern && style <= Qt::DiagCrossPattern)
|
||||
if ((style >= Qt::Dense1Pattern && style <= Qt::DiagCrossPattern) || (style == Qt::TexturePattern ))
|
||||
real_engine->fill(path, s->bgBrush);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user