aboutsummaryrefslogtreecommitdiff
path: root/libraries/qt4/patches/0279-svg-rendering-regression.diff
blob: 0ce074eb32557df263cf06fc93d8434d6980fd46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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();