From 2a55e55868870731258fe2230321ed23bc0cbaed Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 2 Jul 2014 20:00:57 -0700 Subject: UI restructure: plotDive: plot current dive by default & use displayed_dive No longer use the dive structure that is passed in but instead always use the displayed_dive to display things. Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/profile/profilewidget2.h') diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h index e2e63cb40..6ed132b38 100644 --- a/qt-ui/profile/profilewidget2.h +++ b/qt-ui/profile/profilewidget2.h @@ -67,7 +67,7 @@ public: }; ProfileWidget2(QWidget *parent = 0); - void plotDive(struct dive *d); + void plotDive(struct dive *d = 0); virtual bool eventFilter(QObject *, QEvent *); void setupItem(AbstractProfilePolygonItem *item, DiveCartesianAxis *hAxis, DiveCartesianAxis *vAxis, DivePlotDataModel *model, int vData, int hData, int zValue); void setPrintMode(bool mode, bool grayscale = false); -- cgit v1.2.3-70-g09d2