Make sure we're looking both for json and desktop metadata

Review Request #129276 - Created Oct. 28, 2016 and submitted

Information
Aleix Pol Gonzalez
plasma-workspace
Reviewers
plasma

We shouldn't assume metadata is in metadata.desktop

Tests pass, all plasma desktop loads properly, even if I remove .config/plasma-org.kde.plasma.desktop-appletsrc

Marco Martin
Aleix Pol Gonzalez
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit bfb91f9de153d53a30d82ad6ce0d6732da4ab367 by Aleix Pol to branch Plasma/5.8.
Michael Stemle

   
shell/scripting/scriptengine_v1.cpp (Diff revision 1)
 
 

CASUAL MUSING: It almost seems like we should make a function to resolve this question of whether or not we're using the .desktop or the .json file.

Loading...