it's possible to do setPath(zipfile path) and open
a compressed package as it was a real one, done for
uninstalling packages passing zips as parameters
or installing plasmoids by drag and drop
on the desktop, but this didn't really work
as it wasn't incomplete as tempRoot should be
used in place of d->path for the package to work and be valid.
Details
Details
- Reviewers
hein - Group Reviewers
Plasma - Commits
- R290:083b229ac85d: finish support for opening compressed packages
autotests still work, now installing plasmoids by drag and drop
works
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.
src/kpackage/package.cpp | ||
---|---|---|
362–369 | Could you rewrite this for readability a bit? Nested ternary operators just to use a diff var name is ugly, we have implicitly shared strings :) |