diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-08-07 21:10:46 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-09-03 11:46:18 -0700 |
commit | 52aa7d83b6eb0200702c75425972223720fde00a (patch) | |
tree | 7a1dc70e63ed775b8500c0fee5fb7eb69d398158 /profile-widget/profilewidget2.cpp | |
parent | c6fa41588067b3c9787ded63207014ee5ae4d2d8 (diff) | |
download | subsurface-52aa7d83b6eb0200702c75425972223720fde00a.tar.gz |
Increase event icon size in print mode
When plotting the profile in higher resolution for export,
increase the icon size in the same way.
This is commented out for the mobile version as that
uses printMode for profile display.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index 7fffb04e2..01870406b 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -796,6 +796,9 @@ void ProfileWidget2::plotDive(const struct dive *d, bool force, bool doClearPict item->setModel(dataModel); item->setEvent(event, lastgasmix); item->setZValue(2); +#ifndef SUBSURFACE_MOBILE + item->setScale(printMode ? 4 :1); +#endif scene()->addItem(item); eventItems.push_back(item); if (event_is_gaschange(event)) |