the paths for rcc plasmoids are always in the form
:/plasma/plasmoids/pluginname/
when setPath is called with a full path, strip out everything
but the last org.kde.*
Details
Details
- Reviewers
apol - Group Reviewers
Plasma - Commits
- R290:2fdbbf13a6d5: make sure paths in rcc are never derived from absolute paths
doubleclick/dnd on widget explorer works again
Diff Detail
Diff Detail
- Repository
- R290 KPackage
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Don't we have to make sure path is relative to the package root?
src/kpackage/package.cpp | ||
---|---|---|
554 | Use midRef |
Comment Actions
at this point we already know that absolute path is correct (regarding the actual filesystem), under defaultpackageroot and all.
we are just building a fake path to where store the resource files in