From 52aa7d83b6eb0200702c75425972223720fde00a Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Fri, 7 Aug 2020 21:10:46 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- profile-widget/profilewidget2.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'profile-widget') 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)) -- cgit v1.2.3-70-g09d2