diff options
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 8 |
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 */ |