aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-01-15 09:30:42 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-15 15:52:31 +0700
commit7e9582631d97fc35522344eda417c02c25ea12db (patch)
tree5b8172298be3508f7c6b6f4e80ad24d3c7a7400c /qt-ui/diveplanner.cpp
parent795443766597e512504b4d4599d26131c83bff1d (diff)
downloadsubsurface-7e9582631d97fc35522344eda417c02c25ea12db.tar.gz
Convert to TRUE/FALSE to stdbools true/false
I had problems with this one on Qt5. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 6d5390b07..672cf9d59 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -1490,7 +1490,7 @@ void DivePlannerPointsModel::createPlan()
cyl->end.mbar = cyl->start.mbar - consumption;
}
- mark_divelist_changed(TRUE);
+ mark_divelist_changed(true);
// Remove and clean the diveplan, so we don't delete
// the dive by mistake.