mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
profile: remove ProfileWidget::setPrintMode()
The print mode is passed on construction, not retroactively. This function thus became unused. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
51dc5113c2
commit
4fb2cc8267
2 changed files with 0 additions and 15 deletions
|
@ -815,20 +815,6 @@ void ProfileWidget2::changeGas(int tank, int seconds)
|
|||
}
|
||||
#endif
|
||||
|
||||
void ProfileWidget2::setPrintMode(bool grayscale)
|
||||
{
|
||||
profileScene->printMode = true;
|
||||
resetZoom();
|
||||
|
||||
// set printMode for axes
|
||||
profileScene->isGrayscale = grayscale;
|
||||
#ifndef SUBSURFACE_MOBILE
|
||||
mouseFollowerHorizontal->setVisible(false);
|
||||
mouseFollowerVertical->setVisible(false);
|
||||
toolTipItem->setVisible(false);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifndef SUBSURFACE_MOBILE
|
||||
void ProfileWidget2::editName(DiveEventItem *item)
|
||||
{
|
||||
|
|
|
@ -51,7 +51,6 @@ public:
|
|||
void setProfileState(const struct dive *d, int dc);
|
||||
void setPlanState(const struct dive *d, int dc);
|
||||
void setEditState(const struct dive *d, int dc);
|
||||
void setPrintMode(bool grayscale = false);
|
||||
bool isPlanner() const;
|
||||
void clear();
|
||||
#ifndef SUBSURFACE_MOBILE
|
||||
|
|
Loading…
Reference in a new issue