Skip to content
Commit af0105c2 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Fix editing autostart entries when /usr/local/share/applications doesn't exist

QFileInfo.canonicalFilePath() returns an empty string for non-existant directories, which matches any .desktop file path and makes
KPropertiesDialog try to save it to the wrong location. Make sure that the dir exists before trying to match it in the .desktop file path

BUG: 371194
REVIEW: 129280
FIXED-IN: 5.28
parent b4fe6cdd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment