summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-01-10 17:33:20 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-01-10 21:25:02 +0100
commit85ac3106e6ed1e9620a6fd05e207ae2c9d8e762e (patch)
tree4fb405211e5265043c63e24a7f34ee7bd1e0cc0d /qt-models
parentd9ac716162c8248b60c8407ae8fd2b08cdde58a3 (diff)
downloadsubsurface-85ac3106e6ed1e9620a6fd05e207ae2c9d8e762e.tar.gz
Typo: indice -> index
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/diveplotdatamodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp
index 922cf349c..a2b411bdf 100644
--- a/qt-models/diveplotdatamodel.cpp
+++ b/qt-models/diveplotdatamodel.cpp
@@ -85,7 +85,7 @@ QVariant DivePlotDataModel::data(const QModelIndex &index, int role) const
if (role == Qt::BackgroundRole) {
switch (index.column()) {
case COLOR:
- return getColor((color_indice_t)(VELOCITY_COLORS_START_IDX + item.velocity));
+ return getColor((color_index_t)(VELOCITY_COLORS_START_IDX + item.velocity));
}
}
return QVariant();