From 89f35321452925182594304961193a8091368ff7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 1 Jun 2014 18:18:29 -0700 Subject: More conversions to gasmix addStop, addGas and createSimpleDive. Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qt-ui/profile') diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 4cfd295f8..3d740ca1b 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -605,7 +605,8 @@ void ProfileWidget2::mouseDoubleClickEvent(QMouseEvent *event) int minutes = rint(timeAxis->valueAt(mappedPos) / 60); int milimeters = rint(profileYAxis->valueAt(mappedPos) / M_OR_FT(1, 1)) * M_OR_FT(1, 1); - plannerModel->addStop(milimeters, minutes * 60, -1, 0, 0, true); + struct gasmix ignore = { 0 }; + plannerModel->addStop(milimeters, minutes * 60, ignore, 0, true, true); } } -- cgit v1.2.3-70-g09d2