diff --git a/SleepLib/schema.cpp b/SleepLib/schema.cpp
index 0a329570..3a43a94b 100644
--- a/SleepLib/schema.cpp
+++ b/SleepLib/schema.cpp
@@ -174,9 +174,6 @@ bool ChannelList::Load(QString filename)
name=e.attribute("name","");
details=e.attribute("details","");
label=e.attribute("label","");
- if (name=="Pulse") {
- int i=5;
- }
if (name.isEmpty() || details.isEmpty() || label.isEmpty()) {
qWarning() << "Missing name,details or label attribute in" << filename << "line" << line;
diff --git a/daily.cpp b/daily.cpp
index 698c86f5..99223692 100644
--- a/daily.cpp
+++ b/daily.cpp
@@ -412,7 +412,7 @@ void Daily::UpdateEventsTree(QTreeWidget *tree,Day *day)
if (mcroot.find(code)==mcroot.end()) {
int cnt=day->count(code);
total_events+=cnt;
- QString st=schema::channel[m.key()].description();
+ QString st=schema::channel[code].description();
if (st.isEmpty()) {
st="Fixme "+code;
}
diff --git a/docs/channels.xml b/docs/channels.xml
index 633e276c..6dfb4766 100644
--- a/docs/channels.xml
+++ b/docs/channels.xml
@@ -14,12 +14,12 @@ One id code per item
-
+
-
+
-
+
diff --git a/oximetry.cpp b/oximetry.cpp
index 49832723..c61ac599 100644
--- a/oximetry.cpp
+++ b/oximetry.cpp
@@ -78,8 +78,8 @@ bool SerialOximeter::Open(QextSerialPort::QueryMode mode)
if (m_port->open(QIODevice::ReadWrite) == true) {
// if (m_mode==QextSerialPort::EventDriven)
- connect(m_port, SIGNAL(readyRead()), this, SLOT(onReadyRead()));
- //connect(port, SIGNAL(dsrChanged(bool)), this, SLOT(onDsrChanged(bool)));
+ connect(m_port, SIGNAL(readyRead()), this, SLOT(ReadyRead()));
+ //connect(port, SIGNAL(dsrChanged(bool)), this, SLOT(DsrChanged(bool)));
if (!(m_port->lineStatus() & LS_DSR))
qDebug() << "check device is turned on";
qDebug() << "listening for data on" << m_port->portName();
@@ -97,7 +97,7 @@ void SerialOximeter::Close()
if (m_port) m_port->close();
if (m_portmode==QextSerialPort::EventDriven)
- disconnect(m_port, SIGNAL(readyRead()), this, SLOT(onReadyRead()));
+ disconnect(m_port, SIGNAL(readyRead()), this, SLOT(ReadyRead()));
m_mode=SO_OFF;
m_opened=false;
}
@@ -789,7 +789,7 @@ void Oximetry::on_SerialPortsCombo_activated(const QString &arg1)
oximeter->setPortName(arg1);
}
-void Oximetry::RunButton_toggled(bool checked)
+void Oximetry::on_RunButton_toggled(bool checked)
{
if (!checked) {
oximeter->stopLive();
diff --git a/oximetry.h b/oximetry.h
index 38bde804..89cc3789 100644
--- a/oximetry.h
+++ b/oximetry.h
@@ -163,11 +163,11 @@ public:
private slots:
void on_RefreshPortsButton_clicked();
- void RunButton_toggled(bool checked);
+ void on_RunButton_toggled(bool checked);
void on_SerialPortsCombo_activated(const QString &arg1);
- //void onReadyRead();
- //void onDsrChanged(bool status);
+ //void ReadyRead();
+ //void DsrChanged(bool status);
void on_ImportButton_clicked();