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;