summaryrefslogtreecommitdiffstats
path: root/src/svg
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-04-24 12:05:48 +0200
committerAlexis Menard <alexis.menard@nokia.com>2009-04-24 12:09:43 +0200
commit495a818a439c9ad62f9af696f6c3fdc5b0065e07 (patch)
tree56ea72c94f8ab212e3fc1498cab7218aec065ee9 /src/svg
parenta26aec8673cd5c1e3169b0ad4cd9ee748ba56bb4 (diff)
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/svg')
-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 b06539506c..bd0804ca7c 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();