Use consistently std::as_const instead of qAsConst
Not part of public C++11-compat API, everything else using std::as_const now (change happened close to MR introducing this).
Not part of public C++11-compat API, everything else using std::as_const now (change happened close to MR introducing this).