QMap::value() would return a nullptr if there is no such element.
It is also perfectly valid to delete a nullptr
Details
Details
- Reviewers
davidedmundson apol - Group Reviewers
Frameworks - Commits
- R245:14e104f801bf: [UDisksDeviceBackend] Avoid multiple lookup
Compiles, devices still work
Diff Detail
Diff Detail
- Repository
- R245 Solid
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.