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:
parent
01983c65c3
commit
2caea1cd56
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user