profile: make three member functions const

These accessors do not change the ProfileWidget2 state, so
make them const.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-01-10 14:04:43 +01:00 committed by Dirk Hohndel
parent f4d806c77a
commit de220c2da0
2 changed files with 6 additions and 6 deletions

View file

@ -79,10 +79,10 @@ public:
void scale(qreal sx, qreal sy);
void plotDive(const struct dive *d, bool force = false, bool clearPictures = false, bool instant = false);
void setPrintMode(bool mode, bool grayscale = false);
bool getPrintMode();
bool getPrintMode() const;
bool isPointOutOfBoundaries(const QPointF &point) const;
bool isPlanner();
double getFontPrintScale();
bool isPlanner() const;
double getFontPrintScale() const;
void setFontPrintScale(double scale);
#ifndef SUBSURFACE_MOBILE
bool eventFilter(QObject *, QEvent *) override;