summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveeventitem.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-14 10:39:18 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-14 10:39:18 -0800
commitb800530bcdd7779126bd623532ad8f6add852425 (patch)
treefc6bb9e8d7740d4d91a0af32461ff49a741624ed /qt-ui/profile/diveeventitem.h
parent87575a24c2aad61b4e0b4e4b4493d581f9fc1b41 (diff)
downloadsubsurface-b800530bcdd7779126bd623532ad8f6add852425.tar.gz
Don't show a pixmap for heading event
Some dive computers appear to have heading data in every sample. In order to avoid a completely cluttered dive profile we no longer show a flag for every heading event but instead show a basically transparent pixmap (which is invisible to the user) that allows us to report the heading information in the tooltip but leaves the profile uncluttered. Fixes #586 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveeventitem.h')
-rw-r--r--qt-ui/profile/diveeventitem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/diveeventitem.h b/qt-ui/profile/diveeventitem.h
index f358fee6d..2657b3b50 100644
--- a/qt-ui/profile/diveeventitem.h
+++ b/qt-ui/profile/diveeventitem.h
@@ -29,6 +29,7 @@ private:
DiveCartesianAxis *hAxis;
DivePlotDataModel *dataModel;
struct event *internalEvent;
+ QPixmap *transparentPixmap;
};
#endif // DIVEEVENTITEM_H