mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
2caea1cd56
commit
f05cd702b5
2 changed files with 0 additions and 9 deletions
|
@ -1543,14 +1543,6 @@ void ProfileWidget2::setPrintMode(bool mode, bool grayscale)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
double ProfileWidget2::getFontPrintScale() const
|
|
||||||
{
|
|
||||||
if (printMode)
|
|
||||||
return fontPrintScale;
|
|
||||||
else
|
|
||||||
return 1.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef SUBSURFACE_MOBILE
|
#ifndef SUBSURFACE_MOBILE
|
||||||
void ProfileWidget2::editName(DiveEventItem *item)
|
void ProfileWidget2::editName(DiveEventItem *item)
|
||||||
{
|
{
|
||||||
|
|
|
@ -77,7 +77,6 @@ public:
|
||||||
void setPrintMode(bool mode, bool grayscale = false);
|
void setPrintMode(bool mode, bool grayscale = false);
|
||||||
bool isPointOutOfBoundaries(const QPointF &point) const;
|
bool isPointOutOfBoundaries(const QPointF &point) const;
|
||||||
bool isPlanner() const;
|
bool isPlanner() const;
|
||||||
double getFontPrintScale() const;
|
|
||||||
void draw(QPainter *painter, const QRect &pos);
|
void draw(QPainter *painter, const QRect &pos);
|
||||||
QImage toImage(QSize size);
|
QImage toImage(QSize size);
|
||||||
#ifndef SUBSURFACE_MOBILE
|
#ifndef SUBSURFACE_MOBILE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue