aboutsummaryrefslogtreecommitdiff
path: root/libraries/qt4/patches/0279-svg-rendering-regression.diff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qt4/patches/0279-svg-rendering-regression.diff')
-rw-r--r--libraries/qt4/patches/0279-svg-rendering-regression.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/libraries/qt4/patches/0279-svg-rendering-regression.diff b/libraries/qt4/patches/0279-svg-rendering-regression.diff
new file mode 100644
index 000000000000..0ce074eb3255
--- /dev/null
+++ b/libraries/qt4/patches/0279-svg-rendering-regression.diff
@@ -0,0 +1,26 @@
+qt-bugs@ issue : none (not yet)
+Qt Software task ID : none (not yet)
+bugs.kde.org number : 190485 (at least)
+applied: no
+author: Alexis Menard <alexis.menard@nokia.com>
+
+This patch fix the regression introduced in 4.5.1 with SVG rendering.
+The problem appear when a gradient reference an another gradient which is after
+in the svg.
+
+Please clear your plasma cache as well.
+
+This patch is already in 4.5 branch so it will be in 4.5.2.
+
+Index: src/svg/qsvgstyle.cpp
+===================================================================
+--- src/svg/qsvgstyle.cpp (revision 958572)
++++ src/svg/qsvgstyle.cpp (working copy)
+@@ -808,6 +808,7 @@
+ static_cast<QSvgGradientStyle*>(prop);
+ st->resolveStops();
+ m_gradient->setStops(st->qgradient()->stops());
++ m_gradientStopsSet = st->gradientStopsSet();
+ }
+ }
+ m_link = QString();