summaryrefslogtreecommitdiff
path: root/src/svg/qsvggenerator.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-05-27 20:22:17 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-05-27 20:22:17 +0200
commit357a5bd4d6682a50d85c88ba485ed34c745fae85 (patch)
tree5853bfa57606e7ceaaef931b228f0493bec2cfac /src/svg/qsvggenerator.cpp
parenta21cf52e101ad50c330ad0b42416cc83318afea7 (diff)
downloadqtsvg-357a5bd4d6682a50d85c88ba485ed34c745fae85.tar.gz
QtSvg: remove deprecated functions and enumerations
Replace QPainter::HighQualityAntialiasing with Antialiasing and remove defines needed for Qt4. Change-Id: I866decad7d9c10da15e5b0e0bd79033d574f6a08 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/svg/qsvggenerator.cpp')
-rw-r--r--src/svg/qsvggenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/qsvggenerator.cpp b/src/svg/qsvggenerator.cpp
index 07f8d74..b671c44 100644
--- a/src/svg/qsvggenerator.cpp
+++ b/src/svg/qsvggenerator.cpp
@@ -1009,7 +1009,7 @@ void QSvgPaintEngine::updateState(const QPaintEngineState &state)
}
if (flags & QPaintEngine::DirtyTransform) {
- d->matrix = state.matrix();
+ d->matrix = state.transform().toAffine();
*d->stream << "transform=\"matrix(" << d->matrix.m11() << ','
<< d->matrix.m12() << ','
<< d->matrix.m21() << ',' << d->matrix.m22() << ','