summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/profilewidget2.cpp5
-rw-r--r--profile-widget/profilewidget2.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index 55eb40000..3a8b6173a 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -1332,11 +1332,6 @@ bool ProfileWidget2::isPlanner()
return currentState == PLAN;
}
-bool ProfileWidget2::isAddOrPlanner()
-{
- return currentState == PLAN || currentState == ADD;
-}
-
struct plot_data *ProfileWidget2::getEntryFromPos(QPointF pos)
{
// find the time stamp corresponding to the mouse position
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index 3d6bb7e2c..64fac0451 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -76,7 +76,6 @@ public:
bool getPrintMode();
bool isPointOutOfBoundaries(const QPointF &point) const;
bool isPlanner();
- bool isAddOrPlanner();
double getFontPrintScale();
void setFontPrintScale(double scale);
#ifndef SUBSURFACE_MOBILE