summaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-05-20 19:25:49 +0200
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-01-10 16:45:42 +0100
commit1892e2af21dea4fd25e3ab4113c47888e7d5d466 (patch)
treef594dc11920591d9bf2c76311624c18a825abad8 /profile-widget/profilewidget2.cpp
parent5faf3f941056fae32b8d7103cb2c96418b8e3fda (diff)
downloadsubsurface-1892e2af21dea4fd25e3ab4113c47888e7d5d466.tar.gz
Unused code: remove ProfileWidget2::isAddOrPlanner()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r--profile-widget/profilewidget2.cpp5
1 files changed, 0 insertions, 5 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