summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r--qt-ui/profilegraphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h
index a0c0161a3..04a057bdc 100644
--- a/qt-ui/profilegraphics.h
+++ b/qt-ui/profilegraphics.h
@@ -92,7 +92,7 @@ public:
void plot(struct dive *d, bool forceRedraw = FALSE);
bool eventFilter(QObject* obj, QEvent* event);
void clear();
- void setPrintMode(bool);
+ void setPrintMode(bool mode, bool grayscale = FALSE);
protected:
void resizeEvent(QResizeEvent *event);
@@ -136,6 +136,7 @@ private:
struct divecomputer *diveDC;
int zoomLevel;
bool printMode;
+ bool isGrayscale;
// Top Level Items.
QGraphicsItem* profileGrid;