profile: remove ProfileWidget2::getFontPrintScale()

The last user was removed recently.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-06-03 17:26:05 +02:00 committed by Dirk Hohndel
parent 2caea1cd56
commit f05cd702b5
2 changed files with 0 additions and 9 deletions

View file

@ -1543,14 +1543,6 @@ void ProfileWidget2::setPrintMode(bool mode, bool grayscale)
#endif
}
double ProfileWidget2::getFontPrintScale() const
{
if (printMode)
return fontPrintScale;
else
return 1.0;
}
#ifndef SUBSURFACE_MOBILE
void ProfileWidget2::editName(DiveEventItem *item)
{

View file

@ -77,7 +77,6 @@ public:
void setPrintMode(bool mode, bool grayscale = false);
bool isPointOutOfBoundaries(const QPointF &point) const;
bool isPlanner() const;
double getFontPrintScale() const;
void draw(QPainter *painter, const QRect &pos);
QImage toImage(QSize size);
#ifndef SUBSURFACE_MOBILE