QByteArray::operator[] changed its return value, capturing a reference needs to be done differently now.