diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-05-20 19:25:49 +0200 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-10 16:45:42 +0100 |
commit | 1892e2af21dea4fd25e3ab4113c47888e7d5d466 (patch) | |
tree | f594dc11920591d9bf2c76311624c18a825abad8 /profile-widget | |
parent | 5faf3f941056fae32b8d7103cb2c96418b8e3fda (diff) | |
download | subsurface-1892e2af21dea4fd25e3ab4113c47888e7d5d466.tar.gz |
Unused code: remove ProfileWidget2::isAddOrPlanner()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'profile-widget')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 5 | ||||
-rw-r--r-- | profile-widget/profilewidget2.h | 1 |
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 |