Support multiple values in XDG_CURRENT_DESKTOP

Authored by dfaure on Jan 24 2020, 11:31 PM.

Description

Support multiple values in XDG_CURRENT_DESKTOP

Summary:
The Desktop Entry spec says "If $XDG_CURRENT_DESKTOP is set then it contains a colon-separated list of strings."
I found this bug (in a 2014 commit of mine) by simply reading this code and wondering why there was a QStringList.

Test Plan: Unittest updated, fails without the fix

Reviewers: apol, aacid

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: Frameworks

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

Details

Committed
dfaureJan 26 2020, 5:21 PM
Reviewer
apol
Differential Revision
D26900: Support multiple values in XDG_CURRENT_DESKTOP
Parents
R309:9d4514c69953: [autotest] mkpath() before copy to fix CI failure
Branches
Unknown
Tags
Unknown