mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
2 changed files with 0 additions and 8 deletions
|
@ -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…
Add table
Reference in a new issue