clazy: Don't call QList::first() on temporary

Authored by alexeymin on Jun 20 2019, 8:06 PM.

Description

clazy: Don't call QList::first() on temporary

Don't call QList::first() on temporary [-Wclazy-detaching-temporary]

There is a constFirst() for that, to prevent detaching

Details

Committed
alexeyminJun 20 2019, 8:06 PM
Parents
R437:fa7c32fbb9d3: Fix clazy warning about lambda context object
Branches
Unknown
Tags
Unknown