On Friday 13 March 2009 17:52:22 Aaron J. Seigo wrote: > On Friday 13 March 2009, Marco Martin wrote: > > what i was thinking about is checking the file timestamp only when a svg- > > > > >setImagePath is done and when the file doesn't belong to the theme (or > > > > doesn't belong to widgets or dialogs folders) this shouldn't add too much > > overhead since those files are hopefully as less as possible and should > > have less unexpected results.. > > yes, that should work. it should only need to be done on creation of the > Svg object so at most should be once per file per instance of that > plasmoid.
Can't we keep an KFileWatcher-eye on the theme directories, and invalidate the cache for files that have been changed? -- 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