mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-07 20:44:35 +00:00
Small whitespace cleanup
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
df6a80fb37
commit
0d512b2dd9
1 changed files with 4 additions and 4 deletions
|
@ -1732,18 +1732,18 @@ QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const
|
||||||
|
|
||||||
Qt::ItemFlags GasSelectionModel::flags(const QModelIndex& index) const
|
Qt::ItemFlags GasSelectionModel::flags(const QModelIndex& index) const
|
||||||
{
|
{
|
||||||
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
|
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
|
||||||
}
|
}
|
||||||
|
|
||||||
GasSelectionModel* GasSelectionModel::instance()
|
GasSelectionModel* GasSelectionModel::instance()
|
||||||
{
|
{
|
||||||
static GasSelectionModel* self = new GasSelectionModel();
|
static GasSelectionModel* self = new GasSelectionModel();
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GasSelectionModel::repopulate()
|
void GasSelectionModel::repopulate()
|
||||||
{
|
{
|
||||||
setStringList(DivePlannerPointsModel::instance()->getGasList());
|
setStringList(DivePlannerPointsModel::instance()->getGasList());
|
||||||
}
|
}
|
||||||
|
|
||||||
QVariant GasSelectionModel::data(const QModelIndex& index, int role) const
|
QVariant GasSelectionModel::data(const QModelIndex& index, int role) const
|
||||||
|
|
Loading…
Add table
Reference in a new issue