mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: move printing-related variables to ProfileScene
Since the ProfileScene does the actual rendering, it needs access to the "printMode", "isGrayScale" and "fontPrintScale" variables. Move them down from ProfileView to ProfileScene. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f8fbff9f7d
commit
bf12756819
4 changed files with 25 additions and 24 deletions
|
@ -161,8 +161,6 @@ private:
|
|||
DivePlannerPointsModel *plannerModel; // If null, no planning supported.
|
||||
int zoomLevel;
|
||||
qreal zoomFactor;
|
||||
bool isGrayscale;
|
||||
bool printMode;
|
||||
#ifndef SUBSURFACE_MOBILE
|
||||
ToolTipItem *toolTipItem;
|
||||
#endif
|
||||
|
@ -237,7 +235,6 @@ private:
|
|||
bool shouldCalculateMax; // Calculate maximum time and depth (default). False when dragging handles.
|
||||
int maxtime;
|
||||
int maxdepth;
|
||||
double fontPrintScale;
|
||||
|
||||
// We store a const pointer to the shown dive. However, the undo commands want
|
||||
// (understandably) a non-const pointer. Since the profile has a context-menu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue