Add a MsmApp::skillsPath method so the skills folder is not hardcoded

Authored by Antonio Larrosa <antonio.larrosa@gmail.com> on Feb 22 2018, 8:04 PM.

Description

Add a MsmApp::skillsPath method so the skills folder is not hardcoded

Summary:
The skills folder was hardcoded to /opt/mycroft/skills in MsmView.qml.
When using the openSUSE packages I'm preparing, that's changed
to ~/.mycroft/skills, so now we use that one if it exists and the
system folder in other case.

Reviewers: Aiix

Reviewed By: Aiix

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
Antonio Larrosa <antonio.larrosa@gmail.com>Feb 23 2018, 8:03 AM
Reviewer
Aiix
Differential Revision
D10755: Add a MsmApp::skillsPath method so the skills folder is not hardcoded
Parents
R846:307fa73adecf: Fix focus being removed from the text input widget
Branches
Unknown
Tags
Unknown
Antonio Larrosa <antonio.larrosa@gmail.com> committed R846:ab71b7d7b05b: Add a MsmApp::skillsPath method so the skills folder is not hardcoded (authored by Antonio Larrosa <antonio.larrosa@gmail.com>).Feb 23 2018, 8:03 AM