summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-04-24 10:05:48 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-04-24 10:09:43 (GMT)
commit495a818a439c9ad62f9af696f6c3fdc5b0065e07 (patch)
tree56ea72c94f8ab212e3fc1498cab7218aec065ee9 /src
parenta26aec8673cd5c1e3169b0ad4cd9ee748ba56bb4 (diff)
downloadQt-495a818a439c9ad62f9af696f6c3fdc5b0065e07.zip
Qt-495a818a439c9ad62f9af696f6c3fdc5b0065e07.tar.gz
Qt-495a818a439c9ad62f9af696f6c3fdc5b0065e07.tar.bz2
Fix an issue with SVG gradient rendering.
This patch complete the two others made by Kim : - 6c2dd295b2ca2f9125fe072d035a3784ce748718 - 003223dcfc1fa884b82085db19d4c4056bf6eaa0 It fix the stops if the gradient link to another gradient below. Task-number: KDE Reviewed-by: Kim Reviewed-by: Samuel
Diffstat (limited to 'src')
-rw-r--r--src/svg/qsvgstyle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svg/qsvgstyle.cpp b/src/svg/qsvgstyle.cpp
index b065395..bd0804c 100644
--- a/src/svg/qsvgstyle.cpp
+++ b/src/svg/qsvgstyle.cpp
@@ -808,6 +808,7 @@ void QSvgGradientStyle::resolveStops()
static_cast<QSvgGradientStyle*>(prop);
st->resolveStops();
m_gradient->setStops(st->qgradient()->stops());
+ m_gradientStopsSet = st->gradientStopsSet();
}
}
m_link = QString();