QCanBusDevice: optimize the modification of configuration parameters


Use non-const QList::operator[] instead of at() + replace().

Amends 7f17aa8dbec1090b8f1ec9c4dcfb114665df8c9d.

Pick-to: 6.9 6.8 6.5
Change-Id: I120ea28b452b755311fddb0db50831955f167464
Reviewed-by: André Hartmann <aha_1980@gmx.de>
commita5a1943a5c3003aa6177f24780904371b3c31f05
parent52857160c25a0bcdc19163e1923d06fd99922135
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeWed, 23 Apr 2025 12:18:19 +0200