Doc: Fix nullptr access to QCanBusDevice in snippet
[ChangeLog][QCanBusDevice][Doc] Fixed that the example snippet was
wrongly operating on nullptr instead a valid QCanBusDevice.
Change-Id: Ic7a121b7812bcc49d9c2c9f9e927bf72b8df5bf2
Reviewed-by: André Hartmann <aha_1980@gmx.de>
| commit | c6202b077733e885447f3efea49605bf8d4bcd90 |
| parent | 913d5d3475628858ae08ec3b5f1c3625bf01da5b |
| author | Liu Zheng <liuzheng@uniontech.com> |
| committer | André Hartmann <aha_1980@gmx.de> |
| commit time | Wed, 14 Aug 2024 07:48:43 +0000 |