summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divetooltipitem.cpp
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-09-15 14:55:20 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-18 06:20:25 -0700
commitd6abb739d927285b55964f0644ee059be5f7db0b (patch)
treea9f68411ee735e2f03d8227eeb768e7cafdacbab /qt-ui/profile/divetooltipitem.cpp
parentae6b0468b16200dcc01f8e1cfd43260b63e830dc (diff)
downloadsubsurface-d6abb739d927285b55964f0644ee059be5f7db0b.tar.gz
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 <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divetooltipitem.cpp')
-rw-r--r--qt-ui/profile/divetooltipitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/divetooltipitem.cpp b/qt-ui/profile/divetooltipitem.cpp
index 40c556cc6..9ee44e4b6 100644
--- a/qt-ui/profile/divetooltipitem.cpp
+++ b/qt-ui/profile/divetooltipitem.cpp
@@ -1,8 +1,8 @@
#include "divetooltipitem.h"
#include "divecartesianaxis.h"
#include "profilewidget2.h"
-#include "profile.h"
#include "dive.h"
+#include "profile.h"
#include "membuffer.h"
#include <QPropertyAnimation>
#include <QGraphicsSceneMouseEvent>