aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/simplewidgets.h')
-rw-r--r--desktop-widgets/simplewidgets.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop-widgets/simplewidgets.h b/desktop-widgets/simplewidgets.h
index e293f352c..421695815 100644
--- a/desktop-widgets/simplewidgets.h
+++ b/desktop-widgets/simplewidgets.h
@@ -65,14 +65,15 @@ private:
class SetpointDialog : public QDialog {
Q_OBJECT
public:
- SetpointDialog(struct divecomputer *divecomputer, int time);
+ SetpointDialog(struct dive *d, int dcNr, int time);
private
slots:
void buttonClicked(QAbstractButton *button);
private:
Ui::SetpointDialog ui;
- struct divecomputer *dc;
+ struct dive *d;
+ int dcNr;
int time;
};