Use constFirst() instead if first() for temporaries

Authored by volkov on Sep 28 2018, 11:25 AM.

Description

Use constFirst() instead if first() for temporaries

... to avoid possible detaches of shared containers.
Found by clazy.

Details

Committed
volkovSep 28 2018, 11:25 AM
Parents
R260:5af1f4cf7930: Use QColor ctor that takes ints as it's more performant
Branches
Unknown
Tags
Unknown