profile: remove DiveCartesianAxis::sizeChanged() signal

This was used to animate the position of the dive event items
when the size of the axis changed. However, that doesn't work
since quite some time. The axes size are changed when
 1) switching dives
 2) resizing the drawing area
In the first case, the dive event items are fully recalculated.
In the second case, animation speed is set to instant, since
resizing of windows is done continuously on any reasonably
modern desktop anyway. It might make sense on mobile, where
size changes are discontinuous, but there we use static
profiles anyway. Moreover, I checked a few applications and
none of them had animations when switching orientation of
my tablet.

Let's just remove this disfunctional thing and replace it
later, should someone complain.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-09-27 09:37:15 +02:00 committed by Dirk Hohndel
parent 2c4e4b1e86
commit b0faf2e4b1
4 changed files with 6 additions and 18 deletions

View file

@ -311,7 +311,6 @@ void DiveCartesianAxis::animateChangeLine(const QRectF &rectIn, int animSpeed)
break;
}
updateTicks(animSpeed);
sizeChanged();
}
double DiveCartesianAxis::Transform::to(double x) const