summaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.h
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r--profile-widget/profilewidget2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index 19fac368b..9da3d80b7 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -159,8 +159,8 @@ private:
void disconnectTemporaryConnections();
struct plot_data *getEntryFromPos(QPointF pos);
void addActionShortcut(const Qt::Key shortcut, void (ProfileWidget2::*slot)());
- void createPPGas(PartialPressureGasItem *item, color_index_t color, color_index_t colorAlert,
- const double *thresholdSettingsMin, const double *thresholdSettingsMax);
+ PartialPressureGasItem *createPPGas(int column, color_index_t color, color_index_t colorAlert,
+ const double *thresholdSettingsMin, const double *thresholdSettingsMax);
void clearPictures();
void plotPicturesInternal(const struct dive *d, bool synchronous);
void addDivemodeSwitch(int seconds, int divemode);
@@ -178,6 +178,8 @@ private:
DivePlotDataModel *dataModel;
int zoomLevel;
qreal zoomFactor;
+ bool isGrayscale;
+ bool printMode;
DivePixmapItem *background;
QString backgroundFile;
#ifndef SUBSURFACE_MOBILE
@@ -223,8 +225,6 @@ private:
RulerItem2 *rulerItem;
#endif
TankItem *tankItem;
- bool isGrayscale;
- bool printMode;
QList<QGraphicsSimpleTextItem *> gases;