Fixes ignored composition mode in QPainter::fillRect with X11 engine.
authorSamuel Rødal <samuel.rodal@digia.com>
Mon, 10 Dec 2012 09:23:21 +0000 (10:23 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 11 Dec 2012 17:49:57 +0000 (18:49 +0100)
commit439aa67582e715ddc0ca7e30305b0c9498a71f81
treeed3d39ed8436b9b3ac090dede60f2884d3ae022d
parentf7e941785e811e305445d5544cffcfe889a3abc2
Fixes ignored composition mode in QPainter::fillRect with X11 engine.

It's not sufficient to check that the source brush has an alpha, there
are composition modes that depend on the destination instead.

Task-number: QTBUG-28499
Change-Id: I4b267544c607b6a68c4c52a6784d526bec604d75
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
src/gui/painting/qpaintengine_x11.cpp