diff options
author | Michal Klocek <michal.klocek@qt.io> | 2020-07-28 16:13:00 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2020-08-14 15:17:01 +0200 |
commit | 8cd7292c2b30565a2d498a146436fc8b897ac975 (patch) | |
tree | ac4bb90c959aec35626d6017ed84c09956acd6db /examples/charts/modeldata/customtablemodel.cpp | |
parent | a80964df897baba4280c1f68d4832f1ea493acfa (diff) |
Fix removed calls to insertMulti
Use QMultiMap, QMulitHash instead.
Change-Id: I0782aa189a4465619757cb8204189bda888d641a
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'examples/charts/modeldata/customtablemodel.cpp')
-rw-r--r-- | examples/charts/modeldata/customtablemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/charts/modeldata/customtablemodel.cpp b/examples/charts/modeldata/customtablemodel.cpp index dfa92944..a428cbbd 100644 --- a/examples/charts/modeldata/customtablemodel.cpp +++ b/examples/charts/modeldata/customtablemodel.cpp @@ -113,5 +113,5 @@ Qt::ItemFlags CustomTableModel::flags(const QModelIndex &index) const void CustomTableModel::addMapping(QString color, QRect area) { - m_mapping.insertMulti(color, area); + m_mapping.insert(color, area); } |