Fix clazy: calling QByteArray::data() on temporary

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

Description

Fix clazy: calling QByteArray::data() on temporary

Don't call QByteArray::data() on temporary [-Wclazy-detaching-temporary]

data() is not const and will detach, call constData() instead

Details

Committed
alexeyminJun 20 2019, 8:18 PM
Parents
R437:05b96c0bd09d: clazy: Don't call QList::first() on temporary
Branches
Unknown
Tags
Unknown