On Monday 27 October 2008, Jamboarder wrote: > > From: Marco Martin <[EMAIL PROTECTED]> > > aaanyways, the painting function it's really a mess because when i added > > the support for svg theming i decided to add a fallback for every > > element, so when it does not exist in the svg just paints a rounded > > rectangle, so the code is 80% manual qpainter cruft. > > now, would be interesting as a general rule how to behave in this cases, > > i think that just removing the fallbackswould make way more cleaner code. > > i kinda remember chatting with aaron on a similar situation (don't > > remember what was the theme/plasmoid in particular) was decided to just > > consider it a problem of who makes the theme to ensure all the elements > > are in what do you guys think? > > As long as the default theme tasks.svg has the required elements, it should > behave much the same as other theme elements: When the theme author omits > the svg, use the default theme svg. I'm all for doing away with the > qpainter cruft.
+1 -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel