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
|
@ -38,7 +38,7 @@ void Printer::putProfileImage(const QRect &profilePlaceholder, const QRect &view
|
|||
int y = profilePlaceholder.y() - viewPort.y();
|
||||
// use the placeHolder and the viewPort position to calculate the relative position of the dive profile.
|
||||
QRect pos(x, y, profilePlaceholder.width(), profilePlaceholder.height());
|
||||
profile->plotDive(dive, 0, true, true);
|
||||
profile->plotDive(dive, 0, true);
|
||||
|
||||
if (!printOptions.color_selected) {
|
||||
QImage image(pos.width(), pos.height(), QImage::Format_ARGB32);
|
||||
|
@ -193,7 +193,7 @@ void Printer::render(int pages)
|
|||
qPrefDisplay::set_animation_speed(animationOriginal);
|
||||
|
||||
//replot the dive after returning the settings
|
||||
profile->plotDive(current_dive, dc_number, true, true);
|
||||
profile->plotDive(current_dive, dc_number, true);
|
||||
}
|
||||
|
||||
//value: ranges from 0 : 100 and shows the progress of the templating engine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue