Plasma/libplasma2/svgsetimagepath

Jump to: navigation, search

Discussion

FrameSvg (and potentially other subclasses of Svg) need to take action when the image path is changed. setImagePath is not virtual nor does it call any internal virtuals. This has resulted in a necessary but unfortunate hack in Svg::setImagePath specifically for FrameSvg.

Proposed Solution

Make Svg::setImagePath virtual.


This page was last modified on 22 September 2012, at 14:48. This page has been accessed 268 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal