https://bugs.kde.org/show_bug.cgi?id=457951

Friedrich W. H. Kossebau <kosse...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/game
                   |                            |s/libkdegames/commit/91e246
                   |                            |f2b17c899c1d5a9940d7b6f7d98
                   |                            |93e2319
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #16 from Friedrich W. H. Kossebau <kosse...@kde.org> ---
Git commit 91e246f2b17c899c1d5a9940d7b6f7d9893e2319 by Friedrich W. H.
Kossebau.
Committed on 16/08/2022 at 15:10.
Pushed by kossebau into branch 'release/22.08'.

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.

M  +1    -13   src/kgthemeprovider.cpp

https://invent.kde.org/games/libkdegames/commit/91e246f2b17c899c1d5a9940d7b6f7d9893e2319

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to