diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-12-21 23:38:55 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-07 13:41:23 +0100 |
commit | fece2474fe7915db73c7cc4cc115cdac2f636377 (patch) | |
tree | 6befd5d7ef685441363bac1957af5565ddd53afb /src/svg/qsvggenerator.cpp | |
parent | a197f71b490238b06b37d19de676ae9fa3cafe37 (diff) | |
download | qtsvg-fece2474fe7915db73c7cc4cc115cdac2f636377.tar.gz |
Fix a bad virtual override
Problem found by Clang. It took me a while to notice the missing "s"
qsvggenerator.cpp:177:10: error: 'QSvgPaintEngine::drawImage' hides overloaded virtual function [-Werror,-Woverloaded-virtual]
Change-Id: If95e299f12dea62344efee4a2c542b6474314b0e
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src/svg/qsvggenerator.cpp')
-rw-r--r-- | src/svg/qsvggenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svg/qsvggenerator.cpp b/src/svg/qsvggenerator.cpp index 47f760b..74efc65 100644 --- a/src/svg/qsvggenerator.cpp +++ b/src/svg/qsvggenerator.cpp @@ -175,7 +175,7 @@ public: void drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode); void drawTextItem(const QPointF &pt, const QTextItem &item); void drawImage(const QRectF &r, const QImage &pm, const QRectF &sr, - Qt::ImageConversionFlag = Qt::AutoColor); + Qt::ImageConversionFlags flags = Qt::AutoColor); QPaintEngine::Type type() const { return QPaintEngine::SVG; } @@ -907,7 +907,7 @@ void QSvgPaintEngine::drawPixmap(const QRectF &r, const QPixmap &pm, void QSvgPaintEngine::drawImage(const QRectF &r, const QImage &image, const QRectF &sr, - Qt::ImageConversionFlag flags) + Qt::ImageConversionFlags flags) { //Q_D(QSvgPaintEngine); |