diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-10 22:47:53 +0200 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2019-07-12 09:59:28 +0200 |
commit | efe9bcce02fdf4eaad05ff27d8f3eb96d3958cc3 (patch) | |
tree | daacb3307786e7840a56f8761a32e4aee32de17c /profile-widget/profilewidget2.h | |
parent | f93e0aafd52be47b99132a0d38629e1dffaaaa9e (diff) | |
download | subsurface-efe9bcce02fdf4eaad05ff27d8f3eb96d3958cc3.tar.gz |
Profile: stop animations on export
The plotDive() function had a flag to plot pictures asynchronously.
This was used on export. Rename this field to "instant" and disable
animations when set. This should make sure that the axes are properly
exported.
Fixes #2170
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r-- | profile-widget/profilewidget2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index fa3f7f95d..2956b18a5 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -75,7 +75,7 @@ public: ProfileWidget2(QWidget *parent = 0); void resetZoom(); void scale(qreal sx, qreal sy); - void plotDive(const struct dive *d = 0, bool force = false, bool clearPictures = false, bool plotPicturesSynchronously = false); + void plotDive(const struct dive *d = 0, bool force = false, bool clearPictures = false, bool instant = false); void setupItem(AbstractProfilePolygonItem *item, DiveCartesianAxis *vAxis, int vData, int hData, int zValue); void setPrintMode(bool mode, bool grayscale = false); bool getPrintMode(); |