From a8b1d7fd0d53e65710ee79403a66b0188353391d Mon Sep 17 00:00:00 2001
From: Mark Watkins <jedimark@users.sourceforge.net>
Date: Thu, 24 Nov 2011 23:26:46 +1000
Subject: [PATCH] Fix silly live view performance glitch

---
 oximetry.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/oximetry.cpp b/oximetry.cpp
index 31d96795..6bcc9b3e 100644
--- a/oximetry.cpp
+++ b/oximetry.cpp
@@ -441,8 +441,8 @@ void CMS50Serial::onReadyRead()
                 i+=2;
             }
         }
-        emit(dataChanged());
     }
+    emit(dataChanged());
 }
 
 bool CMS50Serial::startImport()
@@ -680,8 +680,8 @@ void Oximetry::onDataChanged()
     qint64 first=last-30000L;
     day->setLast(last);
 
-    plethy->setMinX(first);
-    plethy->setMaxX(last);
+    //plethy->setMinX(first);
+    //plethy->setMaxX(last);
     pulse->setMinX(first);
     pulse->setMaxX(last);
     spo2->setMinX(first);