[PATCH 7/7] Move Constructor next to rest of the class

Anton Lundin glance at acc.umu.se
Sun Dec 28 23:52:13 PST 2014


Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 configuredivecomputerthreads.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configuredivecomputerthreads.cpp b/configuredivecomputerthreads.cpp
index 34b2a4b..3b32a4c 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;
-- 
2.1.0



More information about the subsurface mailing list