From ef4488672a5b0b248b384fedeb57f67638cae12b Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Tue, 3 Jan 2012 07:52:13 +1000 Subject: [PATCH] SummaryChart vertical color fix, Intellipap model number fix --- Graphs/gSummaryChart.cpp | 2 +- SleepLib/loader_plugins/intellipap_loader.cpp | 2 +- docs/channels.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Graphs/gSummaryChart.cpp b/Graphs/gSummaryChart.cpp index de599ca3..dd3bcb82 100644 --- a/Graphs/gSummaryChart.cpp +++ b/Graphs/gSummaryChart.cpp @@ -539,7 +539,7 @@ void SummaryChart::paint(gGraph & w,int left, int top, int width, int height) } // if (bar py-=h; } else if (m_graphtype==GT_LINE) { // if (m_graphtype==GT_BAR - col.setAlpha(128); + //col.setAlpha(128); GLuint col1=col.rgba(); GLuint col2=m_colors[j].rgba(); px2=px+barw; diff --git a/SleepLib/loader_plugins/intellipap_loader.cpp b/SleepLib/loader_plugins/intellipap_loader.cpp index c1e66bc5..69598448 100644 --- a/SleepLib/loader_plugins/intellipap_loader.cpp +++ b/SleepLib/loader_plugins/intellipap_loader.cpp @@ -68,7 +68,7 @@ int IntellipapLoader::Open(QString & path,Profile *profile) QHash lookup; lookup["Sn"]=STR_PROP_Serial; - lookup["Mn"]=STR_PROP_Model; + lookup["Mn"]=STR_PROP_ModelNumber; lookup["Mo"]="PAPMode"; // 0=cpap, 1=auto //lookup["Pn"]="Pn"; lookup["Pu"]="MaxPressure"; diff --git a/docs/channels.xml b/docs/channels.xml index 7f928d91..8c711014 100644 --- a/docs/channels.xml +++ b/docs/channels.xml @@ -101,7 +101,7 @@ Important: One id code per item, DO NOT CHANGE ID NUMBERS!!!