summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/downloadfromdivecomputer.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.h')
-rw-r--r--desktop-widgets/downloadfromdivecomputer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.h b/desktop-widgets/downloadfromdivecomputer.h
index 4d1a912e9..c70ee651a 100644
--- a/desktop-widgets/downloadfromdivecomputer.h
+++ b/desktop-widgets/downloadfromdivecomputer.h
@@ -7,6 +7,7 @@
#include <QHash>
#include <QMap>
#include <QAbstractTableModel>
+#include <memory>
#include "core/libdivecomputer.h"
#include "desktop-widgets/configuredivecomputerdialog.h"
@@ -79,7 +80,7 @@ private:
void fill_device_list(unsigned int transport);
QTimer *timer;
bool dumpWarningShown;
- OstcFirmwareCheck *ostcFirmwareCheck;
+ std::unique_ptr<OstcFirmwareCheck> ostcFirmwareCheck;
DiveImportedModel *diveImportedModel;
#if defined(BT_SUPPORT)
BtDeviceSelectionDialog *btDeviceSelectionDialog;