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
- Branch
- phab/properrccpath
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
Don't we have to make sure path is relative to the package root?
src/kpackage/package.cpp | ||
---|---|---|
554 ↗ | (On Diff #34803) | 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