summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--qmlplugin/hrDataLoader.cpp3
-rw-r--r--qmlplugin/stepsDataLoader.cpp4
-rw-r--r--qmlplugin/weightDataLoader.cpp3
3 files changed, 0 insertions, 10 deletions
diff --git a/qmlplugin/hrDataLoader.cpp b/qmlplugin/hrDataLoader.cpp
index 4a1f04c..23f2ef0 100644
--- a/qmlplugin/hrDataLoader.cpp
+++ b/qmlplugin/hrDataLoader.cpp
@@ -51,7 +51,6 @@ QList<QPointF> HrDataLoader::getRawDataForDate(QDate date) {
QPointF point;
point.setX(line.split(":")[0].toInt());
point.setY(line.split(":")[1].toInt());
- qDebug() << point;
m_filedata.append(point);
}
file.close();
@@ -68,10 +67,8 @@ QVariant HrDataLoader::getDataFromTo(QDate date1, QDate date2) {
for (QDate i = date1; i <= date2; i = i.addDays(1)) {
qDebug() << "currently loading " << i;
QList<QPointF> data = getRawDataForDate(i);
- qDebug() << filedata.count();
if (filedata.count() == 0) {
filedata = data;
- qDebug() << filedata.count();
} else {
filedata += data;
}
diff --git a/qmlplugin/stepsDataLoader.cpp b/qmlplugin/stepsDataLoader.cpp
index 0dcc6ba..d78ab94 100644
--- a/qmlplugin/stepsDataLoader.cpp
+++ b/qmlplugin/stepsDataLoader.cpp
@@ -55,7 +55,6 @@ int StepsDataLoader::getTotalForDate(QDate date) { // This is obvious garbage. T
int i;
while (!inStream.atEnd()) {
line = inStream.readLine();
- qDebug() << line;
i++;
}
file.close();
@@ -84,7 +83,6 @@ QList<QPointF> StepsDataLoader::getRawDataForDate(QDate date) {
QPointF point;
point.setX(line.split(":")[0].toInt());
point.setY(line.split(":")[1].toInt());
- qDebug() << point;
m_filedata.append(point);
}
file.close();
@@ -101,10 +99,8 @@ QVariant StepsDataLoader::getDataFromTo(QDate date1, QDate date2) {
for (QDate i = date1; i <= date2; i = i.addDays(1)) {
qDebug() << "currently loading " << i;
QList<QPointF> data = getRawDataForDate(i);
- qDebug() << filedata.count();
if (filedata.count() == 0) {
filedata = data;
- qDebug() << filedata.count();
} else {
filedata += data;
}
diff --git a/qmlplugin/weightDataLoader.cpp b/qmlplugin/weightDataLoader.cpp
index c585995..7dc7c6b 100644
--- a/qmlplugin/weightDataLoader.cpp
+++ b/qmlplugin/weightDataLoader.cpp
@@ -51,7 +51,6 @@ QList<QPointF> WeightDataLoader::getRawDataForDate(QDate date) {
QPointF point;
point.setX(line.split(":")[0].toInt());
point.setY(line.split(":")[1].toInt());
- qDebug() << point;
m_filedata.append(point);
}
file.close();
@@ -68,10 +67,8 @@ QVariant WeightDataLoader::getDataFromTo(QDate date1, QDate date2) {
for (QDate i = date1; i <= date2; i = i.addDays(1)) {
qDebug() << "currently loading " << i;
QList<QPointF> data = getRawDataForDate(i);
- qDebug() << filedata.count();
if (filedata.count() == 0) {
filedata = data;
- qDebug() << filedata.count();
} else {
filedata += data;
}