profile: remove ProfileWidget2::setFontPrintScale()

The font print scale is now set once on construction and this
function can therefore be removed.

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

View file

@ -1543,12 +1543,6 @@ void ProfileWidget2::setPrintMode(bool mode, bool grayscale)
#endif
}
void ProfileWidget2::setFontPrintScale(double scale)
{
fontPrintScale = scale;
emit fontPrintScaleChanged(scale);
}
double ProfileWidget2::getFontPrintScale() const
{
if (printMode)

View file

@ -78,7 +78,6 @@ public:
bool isPointOutOfBoundaries(const QPointF &point) const;
bool isPlanner() const;
double getFontPrintScale() const;
void setFontPrintScale(double scale);
void draw(QPainter *painter, const QRect &pos);
QImage toImage(QSize size);
#ifndef SUBSURFACE_MOBILE
@ -88,7 +87,6 @@ public:
int animSpeed;
signals:
void fontPrintScaleChanged(double scale);
void editCurrentDive();
public