diff --git a/SleepLib/calcs.cpp b/SleepLib/calcs.cpp
index ac956503..95ee1b4b 100644
--- a/SleepLib/calcs.cpp
+++ b/SleepLib/calcs.cpp
@@ -274,7 +274,7 @@ int CalcAHIGraph::calculate(Session *session)
AHI->AddEvent(ti,ahi);
ti+=winsize;
}
- AHI->AddEvent(ti,ahi);
+ AHI->AddEvent(ti,0);
return AHI->count();
}
diff --git a/daily.cpp b/daily.cpp
index 46a346c3..099cc0a1 100644
--- a/daily.cpp
+++ b/daily.cpp
@@ -188,8 +188,9 @@ Daily::Daily(QWidget *parent,gGraphView * shared, MainWindow *mw)
PRD->AddLayer(AddCPAP(new gLineChart(CPAP_IPAP,Qt::yellow,square)));
PRD->AddLayer(AddCPAP(new gLineChart(CPAP_IPAPHi,Qt::red,square)));
- //AHI->AddLayer(AddCPAP(new gLineChart(CPAP_AHI,QColor("light green"),square)));
- AHI->AddLayer(AddCPAP(new AHIChart(QColor("#37a24b"))));
+ AHI->AddLayer(AddCPAP(new gLineChart(CPAP_AHI,QColor("light green"),square)));
+
+ //AHI->AddLayer(AddCPAP(new AHIChart(QColor("#37a24b"))));
LEAK->AddLayer(AddCPAP(new gLineChart(CPAP_Leak,Qt::darkYellow,square)));
LEAK->AddLayer(AddCPAP(new gLineChart(CPAP_MaxLeak,Qt::darkRed,square)));
SNORE->AddLayer(AddCPAP(new gLineChart(CPAP_Snore,Qt::darkGray,true)));
diff --git a/preferencesdialog.cpp b/preferencesdialog.cpp
index 032ace44..88c09d59 100644
--- a/preferencesdialog.cpp
+++ b/preferencesdialog.cpp
@@ -28,10 +28,6 @@ MaskProfile masks[]={
};
const int num_masks=sizeof(masks)/sizeof(MaskProfile);
-void PreferencesDialog::resizeEvent(QResizeEvent *e)
-{
-}
-
PreferencesDialog::PreferencesDialog(QWidget *parent,Profile * _profile) :
QDialog(parent),
diff --git a/preferencesdialog.h b/preferencesdialog.h
index f6ef08af..58d1a4d1 100644
--- a/preferencesdialog.h
+++ b/preferencesdialog.h
@@ -70,7 +70,6 @@ private slots:
void on_maskTypeCombo_activated(int index);
private:
- virtual void resizeEvent(QResizeEvent *);
void resetGraphModel();
Ui::PreferencesDialog *ui;
Profile * profile;
diff --git a/preferencesdialog.ui b/preferencesdialog.ui
index bf44a6bf..2eb3a71c 100644
--- a/preferencesdialog.ui
+++ b/preferencesdialog.ui
@@ -270,12 +270,6 @@ p, li { white-space: pre-wrap; }
-
-
-
-
-
-
-
@@ -344,20 +338,12 @@ p, li { white-space: pre-wrap; }
- removeImportLocation
- addImportLocation
- verticalSpacer_5
- label
- label_3
- groupBox_6
- groupBox_3
- line
@@ -543,7 +529,7 @@ p, li { white-space: pre-wrap; }
-
+
-