summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.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/simplewidgets.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/simplewidgets.cpp')
-rw-r--r--qt-ui/simplewidgets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp
index 4f2b27702..6fd88f5af 100644
--- a/qt-ui/simplewidgets.cpp
+++ b/qt-ui/simplewidgets.cpp
@@ -142,7 +142,7 @@ void ShiftTimesDialog::buttonClicked(QAbstractButton* button)
// DANGER, DANGER - this could get our dive_table unsorted...
shift_times(amount);
sort_table(&dive_table);
- mark_divelist_changed(TRUE);
+ mark_divelist_changed(true);
mainWindow()->dive_list()->rememberSelection();
mainWindow()->refreshDisplay();
mainWindow()->dive_list()->restoreSelection();