mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 19:43:23 +00:00
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>
This commit is contained in:
parent
8e33c0ce38
commit
e503b5c707
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue