From 969dfee9ec088acb942e211cb90329d2b8c0751f Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 8 May 2018 16:24:51 +0200 Subject: Rename enum dive_comp_type to divemode_t ...as the usuage is not anymore about a computer but a momentary dive mode. Rename the end indicator as well. Signed-off-by: Robert C. Helling --- profile-widget/profilewidget2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile-widget/profilewidget2.cpp') diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index e5502a3f6..b376c6a60 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -1414,7 +1414,7 @@ void ProfileWidget2::contextMenuEvent(QContextMenuEvent *event) QAction *action = m.addAction(tr("Add bookmark"), this, SLOT(addBookmark())); action->setData(event->globalPos()); struct event *ev = NULL; - enum dive_comp_type divemode = UNDEF_COMP_TYPE; + enum divemode_t divemode = UNDEF_COMP_TYPE; QPointF scenePos = mapToScene(mapFromGlobal(event->globalPos())); QString gas = action->text(); qreal sec_val = timeAxis->valueAt(scenePos); -- cgit v1.2.3-70-g09d2