mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: remove force parameter from ProfileWidget2::plotDive()
The last user was removed in 2789bb05b1
.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
4daf687876
commit
8c72ac6b9b
6 changed files with 13 additions and 13 deletions
|
@ -229,7 +229,7 @@ void exportProfile(const struct dive *dive, const QString filename)
|
|||
profile->setPrintMode(true);
|
||||
double scale = profile->getFontPrintScale();
|
||||
profile->setFontPrintScale(4 * scale);
|
||||
profile->plotDive(dive, 0, true, false, true);
|
||||
profile->plotDive(dive, 0, false, true);
|
||||
QImage image = QImage(profile->size() * 4, QImage::Format_RGB32);
|
||||
QPainter paint;
|
||||
paint.begin(&image);
|
||||
|
@ -238,5 +238,5 @@ void exportProfile(const struct dive *dive, const QString filename)
|
|||
profile->setToolTipVisibile(true);
|
||||
profile->setFontPrintScale(scale);
|
||||
profile->setPrintMode(false);
|
||||
profile->plotDive(dive, 0, true); // TODO: Shouldn't this plot the current dive?
|
||||
profile->plotDive(dive, 0); // TODO: Shouldn't this plot the current dive?
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue