diff options
-rw-r--r-- | qt-ui/models.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index d0c244917..0748cd43e 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -1732,18 +1732,18 @@ QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const Qt::ItemFlags GasSelectionModel::flags(const QModelIndex& index) const { - return Qt::ItemIsEnabled | Qt::ItemIsSelectable; + return Qt::ItemIsEnabled | Qt::ItemIsSelectable; } GasSelectionModel* GasSelectionModel::instance() { - static GasSelectionModel* self = new GasSelectionModel(); - return self; + static GasSelectionModel* self = new GasSelectionModel(); + return self; } void GasSelectionModel::repopulate() { - setStringList(DivePlannerPointsModel::instance()->getGasList()); + setStringList(DivePlannerPointsModel::instance()->getGasList()); } QVariant GasSelectionModel::data(const QModelIndex& index, int role) const |