summaryrefslogtreecommitdiffstats
path: root/qt-ui/subsurfacewebservices.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/subsurfacewebservices.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/subsurfacewebservices.cpp')
-rw-r--r--qt-ui/subsurfacewebservices.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index 583000ff0..6e1992a4d 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -34,8 +34,8 @@ static bool is_automatic_fix(struct dive *gpsfix)
if (gpsfix && gpsfix->location &&
(!strcmp(gpsfix->location, "automatic fix") ||
!strcmp(gpsfix->location, "Auto-created dive")))
- return TRUE;
- return FALSE;
+ return true;
+ return false;
}
#define SAME_GROUP 6 * 3600 // six hours
@@ -339,7 +339,7 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton* button)
/* now merge the data in the gps_location table into the dive_table */
if (merge_locations_into_dives()) {
- mark_divelist_changed(TRUE);
+ mark_divelist_changed(true);
mainWindow()->globe()->repopulateLabels();
mainWindow()->globe()->centerOn(current_dive);
mainWindow()->information()->updateDiveInfo(selected_dive);
@@ -866,7 +866,7 @@ void DivelogsDeWebServices::buttonClicked(QAbstractButton* button)
mainWindow()->showError(error);
free(error);
}
- process_dives(TRUE, FALSE);
+ process_dives(true, false);
mainWindow()->refreshDisplay();
/* store last entered user/pass in config */