diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index 206c45af1..519f58e33 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -1161,11 +1161,6 @@ void ProfileWidget2::setProfileState() } #ifndef SUBSURFACE_MOBILE -void ProfileWidget2::setToolTipVisibile(bool visible) -{ - toolTipItem->setVisible(visible); -} - void ProfileWidget2::connectPlannerModel() { connect(plannerModel, &DivePlannerPointsModel::dataChanged, this, &ProfileWidget2::replot); diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index 2a1491596..8af7f8dad 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -84,7 +84,6 @@ public: #ifndef SUBSURFACE_MOBILE bool eventFilter(QObject *, QEvent *) override; #endif - void setToolTipVisibile(bool visible); State currentState; int animSpeed;