summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divecomputermanagementdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/divecomputermanagementdialog.h')
-rw-r--r--desktop-widgets/divecomputermanagementdialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/divecomputermanagementdialog.h b/desktop-widgets/divecomputermanagementdialog.h
index 8c1c3c8a9..365a685d4 100644
--- a/desktop-widgets/divecomputermanagementdialog.h
+++ b/desktop-widgets/divecomputermanagementdialog.h
@@ -3,9 +3,9 @@
#define DIVECOMPUTERMANAGEMENTDIALOG_H
#include <QDialog>
#include "ui_divecomputermanagementdialog.h"
+#include "qt-models/divecomputermodel.h"
class QModelIndex;
-class DiveComputerModel;
class DiveComputerManagementDialog : public QDialog {
Q_OBJECT
@@ -24,7 +24,7 @@ slots:
private:
explicit DiveComputerManagementDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
Ui::DiveComputerManagementDialog ui;
- DiveComputerModel *model;
+ QScopedPointer<DiveComputerModel> model;
};
#endif // DIVECOMPUTERMANAGEMENTDIALOG_H