From 4462ae5aee15d21c4dcaa04eac60288d485fe30e Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 4 Jun 2021 15:19:54 +0200 Subject: profile: remove unused function ProfileWidget2::getPrintMode() The last user was removed in the previous commit. Signed-off-by: Berthold Stoeger --- profile-widget/profilewidget2.cpp | 5 ----- profile-widget/profilewidget2.h | 1 - 2 files changed, 6 deletions(-) (limited to 'profile-widget') 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; -- cgit v1.2.3-70-g09d2