aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/profilewidget2.cpp5
-rw-r--r--profile-widget/profilewidget2.h1
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;