QPaintEngine: Fix build if compiled with QT_NO_XRENDER
authorPeter Hartmann <phartmann@rim.com>
Thu, 13 Dec 2012 15:21:40 +0000 (16:21 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 15 Dec 2012 04:43:41 +0000 (05:43 +0100)
commita92234fc38a4f32d3c00bcf0adf9b9c54506b8f8
tree727e7cf909bb52c54eba37a44a6249aedf45c09b
parent1566021e623fb79c4ff5475d51010765a3074bbb
QPaintEngine: Fix build if compiled with QT_NO_XRENDER

composition_mode is only defined if QT_NO_XRENDER is not defined.
Bug was introduced with 439aa67582e715ddc0ca7e30305b0c9498a71f81
"Fixes ignored composition mode in QPainter::fillRect with X11 engine."

Change-Id: I2dc036ffa277cbf0f9327ede3fead9a407147fc0
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/gui/painting/qpaintengine_x11.cpp