On Monday 08 March 2010 19:50:42 Aaron Seigo wrote: > as far as i can see, the loader is never deleted. it emits its signal, > pictureLoaded is called, and then the object is dropped and just sits > there in memory.
As far as I can see, it sits there to hold the image at its original size, which is needed for rescaling correctly (no need to store it at full size though, as I said, screen reso with some fallback loading is probably good enough). The previous code (before I reworked is did that differently: it nuked the image data from the cache after a couple of seconds, meaning that it had to be loaded once the user wanted to resize -> jerky feeling. -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
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