From d6abb739d927285b55964f0644ee059be5f7db0b Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 15 Sep 2014 14:55:20 +0200 Subject: Helper function for partial pressure calculation This patch introduces a new structure holding partial pressures (doubles in bar) for all three gases and a helper function to compute them from gasmix (which holds fractions) and ambient pressure. Currentlty this works for OC and CCR, to be extended later to PSCR. Currently the dive_comp_type argument is unused. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- qt-ui/profile/diveprofileitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/profile/diveprofileitem.cpp') diff --git a/qt-ui/profile/diveprofileitem.cpp b/qt-ui/profile/diveprofileitem.cpp index c5321d770..9ff30ff32 100644 --- a/qt-ui/profile/diveprofileitem.cpp +++ b/qt-ui/profile/diveprofileitem.cpp @@ -5,8 +5,8 @@ #include "divetextitem.h" #include "profilewidget2.h" #include "animationfunctions.h" -#include "profile.h" #include "dive.h" +#include "profile.h" #include "preferences.h" #include "helpers.h" #include "diveplanner.h" -- cgit v1.2.3-70-g09d2