diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-02 12:03:40 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-02 12:03:40 -0700 |
commit | 91086d08ad77b693c7fd1440f9403f84acae0794 (patch) | |
tree | 08d3785fa19a97572044d1d3c3d5c92ce65c4c08 /qt-ui/profile/profilewidget2.h | |
parent | a221a6e9f5ff7a9460beaa0fbb4da53e5616eca1 (diff) | |
download | subsurface-91086d08ad77b693c7fd1440f9403f84acae0794.tar.gz |
UI restructure: plotDive should just take one dive
We don't have a concept of what to do when plotting multiple dives, so
let's not pretend and remove all the messing around with lists.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r-- | qt-ui/profile/profilewidget2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h index 42d5abbcb..e2e63cb40 100644 --- a/qt-ui/profile/profilewidget2.h +++ b/qt-ui/profile/profilewidget2.h @@ -67,7 +67,7 @@ public: }; ProfileWidget2(QWidget *parent = 0); - void plotDives(QList<dive *> dives); + void plotDive(struct dive *d); 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); |