Check for metadata validty in settingsFileChanged

Review Request #129436 - Created Nov. 19, 2016 and submitted

Information
David Edmundson
plasma-framework
fd7645c...
Reviewers
plasma
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

  
Marco Martin
David Edmundson
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 760fb53e7dcc873f4ec90e726d16f766daabf99f by David Edmundson to branch master.
Loading...