summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/simplewidgets.h')
-rw-r--r--desktop-widgets/simplewidgets.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/desktop-widgets/simplewidgets.h b/desktop-widgets/simplewidgets.h
index 99cfc0fa2..421695815 100644
--- a/desktop-widgets/simplewidgets.h
+++ b/desktop-widgets/simplewidgets.h
@@ -65,16 +65,15 @@ private:
class SetpointDialog : public QDialog {
Q_OBJECT
public:
- static SetpointDialog *instance();
- void setpointData(struct divecomputer *divecomputer, int time);
+ SetpointDialog(struct dive *d, int dcNr, int time);
private
slots:
void buttonClicked(QAbstractButton *button);
private:
- explicit SetpointDialog(QWidget *parent);
Ui::SetpointDialog ui;
- struct divecomputer *dc;
+ struct dive *d;
+ int dcNr;
int time;
};