diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-06-04 15:19:54 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-06-04 08:45:32 -0700 |
commit | 4462ae5aee15d21c4dcaa04eac60288d485fe30e (patch) | |
tree | 1913571fde63006bd2c554c0f534cb19b632b7fd | |
parent | 1ddb55dcad5ee91d4612941eb2eeda9415971b0f (diff) | |
download | subsurface-4462ae5aee15d21c4dcaa04eac60288d485fe30e.tar.gz |
profile: remove unused function ProfileWidget2::getPrintMode()
The last user was removed in the previous commit.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-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 af2a33745..142238d22 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -1582,11 +1582,6 @@ void ProfileWidget2::changeGas(int tank, int seconds) } #endif -bool ProfileWidget2::getPrintMode() const -{ - return printMode; -} - void ProfileWidget2::setPrintMode(bool mode, bool grayscale) { printMode = mode; diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index b4d60f7a2..460acd259 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -85,7 +85,6 @@ public: void setPlanState(const struct dive *d, int dc); void setAddState(const struct dive *d, int dc); void setPrintMode(bool mode, bool grayscale = false); - bool getPrintMode() const; bool isPointOutOfBoundaries(const QPointF &point) const; bool isPlanner() const; double getFontPrintScale() const; |