Remove splitting + joining of a string just to remove the beginning of a
string.
Remove double look-up.
Solves Clazy warnings
Details
Details
- Reviewers
hein - Group Reviewers
Frameworks Plasma - Commits
- R242:1f9b5ed657df: Performance
Diff Detail
Diff Detail
- Repository
- R242 Plasma Framework (Library)
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/plasmaquick/packageurlinterceptor.cpp | ||
---|---|---|
166 | Should be 'firstSlash < (relativePath.size() - 1)'? |