Review Request 129436: Check for metadata validty in settingsFileChanged
Marco Martin
notmart at gmail.com
Mon Nov 21 11:24:53 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129436/#review101010
-----------------------------------------------------------
Ship it!
couldn't be worth to call useCache() if the plugininfo isn't valid, in that case would tickle down reevaluating of themeMetadataPath? (or maybe just resetting it to empty string)
- Marco Martin
On Nov. 19, 2016, 10:41 p.m., David Edmundson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129436/
> -----------------------------------------------------------
>
> (Updated Nov. 19, 2016, 10:41 p.m.)
>
>
> Review request for Plasma.
>
>
> Repository: plasma-framework
>
>
> Description
> -------
>
> settingsFileChanged is called if the plugin metadata file changes, and
> reloads the theme if the version changes.
>
> However, if the metadata file now doesn't exist we need to check before
> calling .version() otherwise it will assert.
>
> If it doesn't exist, we want to reload the theme so that it will load
> the correct thing.
>
> BUG: 372651
>
>
> Diffs
> -----
>
> src/plasma/private/theme_p.cpp 0f3662e8f58c8cccdf9af2b8cf6878f5f0cef10b
>
> Diff: https://git.reviewboard.kde.org/r/129436/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> David Edmundson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161121/bede4123/attachment-0001.html>
More information about the Plasma-devel
mailing list