Contents of /trunk/qt4/patches/qt-4.5.1-qt-copy_svg-rendering-regression.patch
Parent Directory | Revision Log
Revision 834 -
(show annotations)
(download)
Mon Jun 8 21:08:05 2009 UTC (15 years, 3 months ago) by niro
File size: 910 byte(s)
Mon Jun 8 21:08:05 2009 UTC (15 years, 3 months ago) by niro
File size: 910 byte(s)
qt4 patches, fixed broken kde plasma themes
1 | qt-bugs@ issue : none (not yet) |
2 | Qt Software task ID : none (not yet) |
3 | bugs.kde.org number : 190485 (at least) |
4 | applied: yes |
5 | author: Alexis Menard <alexis.menard@nokia.com> |
6 | |
7 | This patch fix the regression introduced in 4.5.1 with SVG rendering. |
8 | The problem appear when a gradient reference an another gradient which is after |
9 | in the svg. |
10 | |
11 | Please clear your plasma cache as well. |
12 | |
13 | This patch is already in 4.5 branch so it will be in 4.5.2. |
14 | |
15 | Index: src/svg/qsvgstyle.cpp |
16 | =================================================================== |
17 | --- src/svg/qsvgstyle.cpp (revision 958572) |
18 | +++ src/svg/qsvgstyle.cpp (working copy) |
19 | @@ -808,6 +808,7 @@ |
20 | static_cast<QSvgGradientStyle*>(prop); |
21 | st->resolveStops(); |
22 | m_gradient->setStops(st->qgradient()->stops()); |
23 | + m_gradientStopsSet = st->gradientStopsSet(); |
24 | } |
25 | } |
26 | m_link = QString(); |