From 23ab6b7a8ca1f12a3fb5bb0ec56a6de5d9976dad Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 17 May 2021 19:28:53 +0200 Subject: [PATCH] cleanup: remove unused function setToolTipVisibile() The alternative spelling "visibile" made searching for this function very annoying. That makes removing it even more satisfying. Signed-off-by: Berthold Stoeger --- profile-widget/profilewidget2.cpp | 5 ----- profile-widget/profilewidget2.h | 1 - 2 files changed, 6 deletions(-) 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;