Create ~/.local/share/mime/packages if it doesn't exist

Review Request #128055 - Created May 30, 2016 and submitted

Information
Wolfgang Bauer
kde-cli-tools
Plasma/5.6, master
356237
Reviewers
kdeframeworks, plasma
dfaure

QStandardDirs::writableLocation() doesn't guarantee that the returned directory actually exists.
So create it, otherwise saving the changes will fail if it isn't there.

Delete ~/.local/share/mime/packages/ or ~/.local/share/mime/, if they exist.
Enter the file types editor and modify a file type (e.g. add/change the icon), then press OK or Apply.
Close it and open it again.

The changes are still there now, before they were not applied and reverted to the system defaults.

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
David Faure
Wolfgang Bauer
David Faure
Wolfgang Bauer
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit c2aa2a46d51793d26dc6e93e60b5933cb1193e56 by Wolfgang Bauer to branch Plasma/5.6.
Loading...