From 3c7d4de151d0d87b687644381c5d8aaef06f21b2 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Wed, 24 Jun 2020 10:25:01 +0200 Subject: Use QList instead of QVector Task-number: QTBUG-84469 Change-Id: I4dc064b70adb054ca4add2dd662e7227255ff970 Reviewed-by: Sona Kurazyan Reviewed-by: Lars Knoll --- examples/datavisualization/audiolevels/doc/src/audiolevels.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/datavisualization/audiolevels') diff --git a/examples/datavisualization/audiolevels/doc/src/audiolevels.qdoc b/examples/datavisualization/audiolevels/doc/src/audiolevels.qdoc index 2551c156..460715b3 100644 --- a/examples/datavisualization/audiolevels/doc/src/audiolevels.qdoc +++ b/examples/datavisualization/audiolevels/doc/src/audiolevels.qdoc @@ -88,7 +88,7 @@ the existing data array, as this allows us to avoid any extra memory allocations in our application code. This also means the data array dimensions do not change, which further improves efficiency in the bar graph renderer. - Secondly, since each row is a QVector of bar data items, which do not allocate any data that needs + Secondly, since each row is a QList of bar data items, which do not allocate any data that needs deletion, we can utilize \c memmove and \c memcpy functions to quickly move and copy data around. \note In the future versions of Qt Data Visualization, QBarDataItem might get extended so that -- cgit v1.2.3