Mask Pressure Graph is not designed to work in square plot mode

This commit is contained in:
Mark Watkins 2011-11-07 15:25:29 +10:00
parent a51bc00e82
commit d06e72cea4
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ Daily::Daily(QWidget *parent,gGraphView * shared, MainWindow *mw)
SNORE->AddLayer(AddCPAP(new gLineChart(CPAP_Snore,Qt::darkGray,square))); SNORE->AddLayer(AddCPAP(new gLineChart(CPAP_Snore,Qt::darkGray,square)));
PTB->AddLayer(AddCPAP(new gLineChart(CPAP_PTB,Qt::gray,square))); PTB->AddLayer(AddCPAP(new gLineChart(CPAP_PTB,Qt::gray,square)));
MP->AddLayer(AddCPAP(new gLineChart(CPAP_MaskPressure,Qt::blue,square))); MP->AddLayer(AddCPAP(new gLineChart(CPAP_MaskPressure,Qt::blue,false)));
RR->AddLayer(AddCPAP(new gLineChart(CPAP_RespRate,Qt::darkMagenta,square))); RR->AddLayer(AddCPAP(new gLineChart(CPAP_RespRate,Qt::darkMagenta,square)));
MV->AddLayer(AddCPAP(new gLineChart(CPAP_MinuteVent,Qt::darkCyan,square))); MV->AddLayer(AddCPAP(new gLineChart(CPAP_MinuteVent,Qt::darkCyan,square)));
TV->AddLayer(AddCPAP(new gLineChart(CPAP_TidalVolume,Qt::magenta,square))); TV->AddLayer(AddCPAP(new gLineChart(CPAP_TidalVolume,Qt::magenta,square)));

View File

@ -283,7 +283,7 @@ void PreferencesDialog::Save()
args << (QApplication::instance()->applicationDirPath() + "/../../../SleepyHead.app"); args << (QApplication::instance()->applicationDirPath() + "/../../../SleepyHead.app");
proc.startDetached("open", args); proc.startDetached("open", args);
#else #else
proc.startDetached(QApplication::instance()->applicationFilePath(),args); proc.startDetached(QApplication::instance()->applicationFilePath(),args);
#endif #endif
QApplication::instance()->exit(); QApplication::instance()->exit();
} }