summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qtableview_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-06-15 15:06:56 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-02-08 19:58:01 +0000
commitb034a14dc589fecbbb1e0c807690910303ca82a3 (patch)
tree6454c00734c013e859ff5760dc4e3b6db3456289 /src/widgets/itemviews/qtableview_p.h
parentf049546d95607a03059ad334087a00e1714876a8 (diff)
Replace some QList<int> with QVector<int>
On 64-bit platforms, QVector<int> uses only 50% of QList<int> per-element memory. Change-Id: I3057781e7fb58007ea2619cc91965a626d01473b Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/widgets/itemviews/qtableview_p.h')
-rw-r--r--src/widgets/itemviews/qtableview_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/itemviews/qtableview_p.h b/src/widgets/itemviews/qtableview_p.h
index 71c3dd97fa..617ecb1642 100644
--- a/src/widgets/itemviews/qtableview_p.h
+++ b/src/widgets/itemviews/qtableview_p.h
@@ -187,8 +187,8 @@ public:
int columnSectionAnchor;
int columnResizeTimerID;
int rowResizeTimerID;
- QList<int> columnsToUpdate;
- QList<int> rowsToUpdate;
+ QVector<int> columnsToUpdate;
+ QVector<int> rowsToUpdate;
QHeaderView *horizontalHeader;
QHeaderView *verticalHeader;
QWidget *cornerWidget;