diff options
Diffstat (limited to 'examples/charts/barmodelmapper/customtablemodel.h')
-rw-r--r-- | examples/charts/barmodelmapper/customtablemodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/charts/barmodelmapper/customtablemodel.h b/examples/charts/barmodelmapper/customtablemodel.h index d8de5d24..1c14b93e 100644 --- a/examples/charts/barmodelmapper/customtablemodel.h +++ b/examples/charts/barmodelmapper/customtablemodel.h @@ -31,7 +31,7 @@ #define CUSTOMTABLEMODEL_H #include <QtCore/QAbstractTableModel> -#include <QtCore/QHash> +#include <QtCore/QMultiHash> #include <QtCore/QRect> class CustomTableModel : public QAbstractTableModel @@ -53,7 +53,7 @@ public: private: QList<QList<qreal> *> m_data; - QHash<QString, QRect> m_mapping; + QMultiHash<QString, QRect> m_mapping; int m_columnCount; int m_rowCount; }; |