Jump to content

Plasma/libplasma2/svgsetimagepath

From KDE Community Wiki
Revision as of 13:48, 22 September 2012 by Afiestas (talk | contribs) (Created page with "== 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 intern...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.