diff --git a/Graphs/gSummaryChart.cpp b/Graphs/gSummaryChart.cpp index 86c812de..2448725b 100644 --- a/Graphs/gSummaryChart.cpp +++ b/Graphs/gSummaryChart.cpp @@ -130,9 +130,6 @@ void SummaryChart::SetDay(Day * nullday) if (day->machine_type()!=m_machinetype) continue; //m_values[dn][j+1]=0; - if (code==CPAP_PTB) { - int i=5; - } bool hascode=//day->channelHasData(code) || type==ST_HOURS || type==ST_SESSIONS || @@ -140,9 +137,6 @@ void SummaryChart::SetDay(Day * nullday) day->hasData(code,type); if (hascode) { - if (code==CPAP_PTB) { - int i=5; - } m_days[dn]=day; switch(m_type[j]) { case ST_AVG: tmp=day->avg(code); break; diff --git a/SleepLib/day.cpp b/SleepLib/day.cpp index 985c5747..76a09b50 100644 --- a/SleepLib/day.cpp +++ b/SleepLib/day.cpp @@ -306,9 +306,6 @@ EventDataType Day::Min(ChannelID code) EventDataType tmp; bool first=true; for (QVector::iterator s=sessions.begin();s!=sessions.end();s++) { - if (code==CPAP_PTB) { - int i=5; - } if (!(*s)->m_min.contains(code)) continue; //if ((*s)->eventlist.find(code)==(*s)->eventlist.end()) continue; diff --git a/SleepLib/session.cpp b/SleepLib/session.cpp index 7ecdbf19..a1fccaa2 100644 --- a/SleepLib/session.cpp +++ b/SleepLib/session.cpp @@ -601,9 +601,6 @@ void Session::UpdateSummaries() for (c=eventlist.begin();c!=eventlist.end();c++) { id=c.key(); - if (id==CPAP_PTB) { - int i=5; - } if (schema::channel[id].type()==schema::DATA) { //sum(id); // avg calculates this and cnt. if (c.value().size()>0) { @@ -655,9 +652,6 @@ bool Session::SearchEvent(ChannelID code, qint64 time, qint64 dist) EventDataType Session::Min(ChannelID id) { - if (id==CPAP_PTB){ - int i=5; - } QHash::iterator i=m_min.find(id); if (i!=m_min.end()) return i.value(); diff --git a/preferencesdialog.cpp b/preferencesdialog.cpp index 31753461..676f6aba 100644 --- a/preferencesdialog.cpp +++ b/preferencesdialog.cpp @@ -275,7 +275,7 @@ void PreferencesDialog::Save() { bool needs_restart=false; - profile->appearance->setAnimations(ui->useAntiAliasing->isChecked()); + profile->appearance->setAntiAliasing(ui->useAntiAliasing->isChecked()); if (ui->useSquareWavePlots->isChecked()!=profile->appearance->squareWavePlots()) { profile->appearance->setSquareWavePlots(ui->useSquareWavePlots->isChecked()); needs_restart=true;