Support multiple entries in XDG_DATA_DIRS

Authored by dfaure on May 21 2020, 8:54 AM.

Description

Support multiple entries in XDG_DATA_DIRS

Summary:
Multiple themes named "Default" were inserted into the QMap,
one for my prefix and then one for /usr/share, which replaced it.
What we want is this to be a single theme with multiple search paths.

Test Plan:
This fixes the "Kontact introduction" in my developer
setup where everything is installed into a custom prefix.
Before this fix, only /usr/share/messageviewer/about was looked at,
and I don't have kontact installed there.

Reviewers: dvratil, mlaurent, vkrause, skelly

Reviewed By: dvratil

Subscribers: kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D29613

Details

Committed
dfaureMay 21 2020, 10:41 AM
Reviewer
dvratil
Differential Revision
D29613: Support multiple entries in XDG_DATA_DIRS
Parents
R77:71c46fc57a0a: GIT_SILENT: add .gitlab-ci.yml
Branches
Unknown
Tags
Unknown