diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-12-29 08:52:13 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-28 23:59:17 -0800 |
commit | e503b5c7076e45db1e14d7b68bbcda6a3c3ce446 (patch) | |
tree | 950a357729c71fec97687d85bac7738a141e6cc1 /configuredivecomputerthreads.cpp | |
parent | 8e33c0ce38bf452af76145556d2f640f901fd498 (diff) | |
download | subsurface-e503b5c7076e45db1e14d7b68bbcda6a3c3ce446.tar.gz |
Move Constructor next to rest of the class
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'configuredivecomputerthreads.cpp')
-rw-r--r-- | configuredivecomputerthreads.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configuredivecomputerthreads.cpp b/configuredivecomputerthreads.cpp index 34b2a4b6c..3b32a4c2b 100644 --- a/configuredivecomputerthreads.cpp +++ b/configuredivecomputerthreads.cpp @@ -106,10 +106,6 @@ static dc_status_t local_hw_ostc_device_clock(void *ignored, dc_datetime_t *time } #endif -ReadSettingsThread::ReadSettingsThread(QObject *parent, device_data_t *data) : QThread(parent), m_data(data) -{ -} - static int read_ostc_cf(unsigned char data[], unsigned char cf) { return data[128 + (cf % 32) * 4 + 3] << 8 ^ data[128 + (cf % 32) * 4 + 2]; @@ -1385,6 +1381,10 @@ static dc_status_t write_ostc_settings(dc_device_t *device, DeviceDetails *m_dev return rc; } +ReadSettingsThread::ReadSettingsThread(QObject *parent, device_data_t *data) : QThread(parent), m_data(data) +{ +} + void ReadSettingsThread::run() { bool supported = false; |