summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDiveComputer.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveComputer.h')
-rw-r--r--desktop-widgets/tab-widgets/TabDiveComputer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveComputer.h b/desktop-widgets/tab-widgets/TabDiveComputer.h
index bdbb9097c..f5f6900c3 100644
--- a/desktop-widgets/tab-widgets/TabDiveComputer.h
+++ b/desktop-widgets/tab-widgets/TabDiveComputer.h
@@ -4,7 +4,8 @@
#include "TabBase.h"
#include "ui_TabDiveComputer.h"
-#include "qt-models/divecomputermodel.h"
+
+class DiveComputerSortedModel;
class TabDiveComputer : public TabBase {
Q_OBJECT
@@ -16,8 +17,7 @@ public slots:
void tableClicked(const QModelIndex &index);
private:
Ui::TabDiveComputer ui;
- DiveComputerModel model;
- DiveComputerSortedModel sortedModel;
+ DiveComputerSortedModel *sortedModel;
};
#endif