Qt Graphs for data visualization.
Go to file
Sami Varanka 43ccf20e67 Fix: crash when closing Graphs2D
When series is created outside of graphsview and then added into
a graphsview, the app crashes while closing. This seems to be because
it ends up calling pure virtual type function from the QAbstractSeries
in the getSeriesRendererIndex. This patch adds type variable to
QAbstractSeriesPrivate. The variable is set by QAbstractSeriesPrivate
constructor. The getSeriesRendererIndex function checks the value of
that variable instead of calling the virtual type().

Pick-to: 6.8 6.9
Fixes: QTBUG-138506
Change-Id: I7aca4970c38cbf83413818b0a77e7cf5d76195b6
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
(cherry picked from commit 630b38b3ee)
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2025-08-13 20:33:34 +03:00
LICENSES Initial commit 2023-03-02 15:45:23 +02:00
coin Remove unnecessary comment 2025-03-05 16:06:11 +01:00
examples Doc: Fix indentation in the "Graphs 2D in Qt Widgets" example 2025-07-16 07:58:15 +00:00
src Fix: crash when closing Graphs2D 2025-08-13 20:33:34 +03:00
tests Use mask alphamode in labels 2025-08-04 06:37:51 +00:00
tools/blender Add octagon mesh for shadowed point type 2023-05-16 10:46:01 +00:00
.cmake.conf Bump version to 6.10.0 2025-01-03 16:57:32 +00:00
.gitattributes Initial commit 2023-03-02 15:45:23 +02:00
.gitignore Update .gitignore to ignore example build folders 2024-05-29 07:22:41 +03:00
.gitreview Add .gitreview file 2025-03-24 17:25:40 +01:00
.tag Initial commit 2023-03-02 15:45:23 +02:00
CMakeLists.txt Don't assert on Test dependencies 2025-01-14 16:13:34 +01:00
REUSE.toml Update licensing of files with infrastructure type 2025-03-12 16:06:00 +01:00
configure.cmake Add 2D and 3D as configurable features 2024-01-11 06:29:20 +02:00
dependencies.yaml Update dependencies on '6.10' in qt/qtgraphs 2025-08-13 16:29:28 +00:00
licenseRule.json Update licensing of files with infrastructure type 2025-03-12 16:06:00 +01:00
sync.profile Rename 3D graphs directories to "graphs3d" 2023-12-04 14:57:23 +02:00