Use const ref for QColor and QJSValue values.
Clean up code style, lots of missing braces and spaces.
Don't use std::map if no lookup by key actually happens.
std::vector is a much less heavy-weight container.
Details
Details
- Reviewers
mart - Group Reviewers
Kirigami - Commits
- R169:a6bf4a67f099: ColorUtils: Use const ref for QColor/QJSValue, fix code style
Things still work.
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.