diff options
Diffstat (limited to 'core/downloadfromdcthread.cpp')
-rw-r--r-- | core/downloadfromdcthread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index bd8a637f1..9583eff15 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -16,11 +16,11 @@ static QString str_error(const char *fmt, ...) return str; } -DownloadThread::DownloadThread() : m_data(new DCDeviceData()) +DownloadThread::DownloadThread() { + m_data = DCDeviceData::instance(); } - void DownloadThread::run() { auto internalData = m_data->internalData(); |