QSignalMapper is obsolete and code with lambdas is shorter and clearer.
Details
Details
- Reviewers
muhlenpfordt - Group Reviewers
Gwenview - Commits
- R260:883f1329ac90: Use lambdas instead of QSignalMapper
Diff Detail
Diff Detail
- Repository
- R260 Gwenview
- Branch
- use-lambdas
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 2486 Build 2504: arc lint + arc unit
Comment Actions
Nice simplification. :)
Works good, just one maybe unnecessary call (see inline comment).
app/semanticinfocontextmanageritem.cpp | ||
---|---|---|
215 | Is there any situation where this is needed? As far as I can see mRatingWidget emits the ratingChanged signal and this triggers slotRatingChanged(). |
app/semanticinfocontextmanageritem.cpp | ||
---|---|---|
215 | The connection to slotRatingChanged() was added in c96e084bafbef3bceab3a8420e30d86178ee6818 |