summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_p.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-05-11 07:21:54 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-05-11 07:31:37 (GMT)
commit3822cd597fc481acb2a4de324c005c23ce8e78cd (patch)
tree91443af04295cb7a604a87ff2968641d7f86a353 /src/gui/painting/qdrawhelper_p.h
parenta93e6cbae8dfa71aad2da9a69f5320bd44bc8dab (diff)
downloadQt-3822cd597fc481acb2a4de324c005c23ce8e78cd.zip
Qt-3822cd597fc481acb2a4de324c005c23ce8e78cd.tar.gz
Qt-3822cd597fc481acb2a4de324c005c23ce8e78cd.tar.bz2
Fix QWS build breakage
QScreen uses QSpanData::setup, so broke because of API change. Reviewed-by: sroedal
Diffstat (limited to 'src/gui/painting/qdrawhelper_p.h')
-rw-r--r--src/gui/painting/qdrawhelper_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h
index 586ffe3..019402a 100644
--- a/src/gui/painting/qdrawhelper_p.h
+++ b/src/gui/painting/qdrawhelper_p.h
@@ -294,7 +294,7 @@ struct QSpanData
};
void init(QRasterBuffer *rb, const QRasterPaintEngine *pe);
- void setup(const QBrush &brush, int alpha, const QRasterPaintEngineState *s);
+ void setup(const QBrush &brush, int alpha, QPainter::CompositionMode compositionMode);
void setupMatrix(const QTransform &matrix, int bilinear);
void initTexture(const QImage *image, int alpha, QTextureData::Type = QTextureData::Plain, const QRect &sourceRect = QRect());
void adjustSpanMethods();