summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/downloadfromdcthread.cpp10
-rw-r--r--core/downloadfromdcthread.h6
2 files changed, 2 insertions, 14 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp
index 67d628d31..34f1eb748 100644
--- a/core/downloadfromdcthread.cpp
+++ b/core/downloadfromdcthread.cpp
@@ -308,16 +308,6 @@ DCDeviceData *DownloadThread::data()
return m_data;
}
-struct dive_table *DownloadThread::table()
-{
- return &downloadTable;
-}
-
-struct dive_site_table *DownloadThread::sites()
-{
- return &diveSiteTable;
-}
-
QString DCDeviceData::vendor() const
{
return data.vendor;
diff --git a/core/downloadfromdcthread.h b/core/downloadfromdcthread.h
index 3a93115db..4284c2cc6 100644
--- a/core/downloadfromdcthread.h
+++ b/core/downloadfromdcthread.h
@@ -64,13 +64,11 @@ public:
void run() override;
DCDeviceData *data();
- struct dive_table *table();
- struct dive_site_table *sites();
QString error;
-
-private:
struct dive_table downloadTable;
struct dive_site_table diveSiteTable;
+
+private:
DCDeviceData *m_data;
};