summaryrefslogtreecommitdiffstats
path: root/configuredivecomputerthreads.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-12-30 00:25:59 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-29 16:27:44 -0800
commit266c3f9aa2a1f596660365101fd15a4ae3312353 (patch)
treeefe2c8ba898b6f567c5de220bd3fb039fd52c8d2 /configuredivecomputerthreads.cpp
parent3da8797e7155deb86f60af6919804f5beff4a979 (diff)
downloadsubsurface-266c3f9aa2a1f596660365101fd15a4ae3312353.tar.gz
Remove debug code
This debug code was accidentally added in b2f4896f ("Whitespace cleanup") 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.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/configuredivecomputerthreads.cpp b/configuredivecomputerthreads.cpp
index ec6dc1ad0..2ff36618a 100644
--- a/configuredivecomputerthreads.cpp
+++ b/configuredivecomputerthreads.cpp
@@ -1,6 +1,5 @@
#include "configuredivecomputerthreads.h"
#include "libdivecomputer/hw.h"
-#include <QDebug>
#include <QDateTime>
#include <QStringList>
@@ -101,7 +100,6 @@ static dc_status_t local_hw_ostc_device_eeprom_write(void *ignored, unsigned cha
static dc_status_t local_hw_ostc_device_clock(void *ignored, dc_datetime_t *time)
{
- qDebug() << "Setting OSTC time";
return DC_STATUS_SUCCESS;
}
#endif
@@ -1518,17 +1516,14 @@ FirmwareUpdateThread::FirmwareUpdateThread(QObject *parent, device_data_t *data,
void FirmwareUpdateThread::run()
{
- qDebug() << "in FirmwareUpdateThread::run";
bool supported = false;
dc_status_t rc;
rc = dc_device_open(&m_data->device, m_data->context, m_data->descriptor, m_data->devname);
- qDebug() << "got" << rc << "as return for dc_device_open of" << m_data->devname;
if (rc == DC_STATUS_SUCCESS) {
switch (dc_device_get_type(m_data->device)) {
#if DC_VERSION_CHECK(0, 5, 0)
case DC_FAMILY_HW_OSTC3:
supported = true;
- qDebug() << "it's an OSTC3, let's do it!";
rc = hw_ostc3_device_fwupdate(m_data->device, m_fileName.toUtf8().data());
break;
case DC_FAMILY_HW_OSTC: