profile: remove ProfileWidget2::zoomFactor member

This is a constant, no point in keeping it as a member variable.
Contains removal of a pointless #ifdef (guarding against mobile,
but code not compiled on mobile), a typo-fix in a comment and
replacement of Qt's idiosyncratic qreal by double.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-10-04 21:41:17 +02:00 committed by Dirk Hohndel
parent 2f9c0c04b5
commit 7051bee7e1
2 changed files with 5 additions and 6 deletions

View file

@ -136,7 +136,6 @@ private:
DivePlannerPointsModel *plannerModel; // If null, no planning supported.
int zoomLevel;
qreal zoomFactor;
#ifndef SUBSURFACE_MOBILE
ToolTipItem *toolTipItem;
#endif