Skip to content
Commit 91e246f2 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

KgThemeProvider: fix generating broken full path theme id due to fs symlinks

relativeToApplications() was using QFileInfo(file).canonicalFilePath()
to compare against non-canonicalized directories returned by
QStandardPaths, thus missing out in case the file was in a path with
symlinks, resulting in ids with full absolute path.

This patch fixes that by calculating the id from the known one subdir name
and the desktop file name directly.

BUG: 457951
parent 1ec3bef2
Pipeline #246956 skipped
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