QAbstractBarSeries: fix ownership when calling insert()
The docs claim that the series takes ownership of the inserted bar set.
However, that didn't happen in practice. Fix by explicitly calling
setParent(this), like it's done for other similar operations.
Amends 978d41b59ab7cf2126b52ccd379b5c437753f7f4.
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I19d1399195a63d096bb00b1a13d15e1b9a8d9493
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
| commit | ea13d9ad24106d0f0c08549bdd4e6e1ec8a1a936 |
| parent | 159994409d7669b9d37e6e8aaebe67646267cedb |
| author | Ivan Solovev <ivan.solovev@qt.io> |
| committer | Ivan Solovev <ivan.solovev@qt.io> |
| commit time | Thu, 5 Jun 2025 11:08:59 +0200 |