diff options
author | Arseniy-Movshev <dodoradio@outlook.com> | 2023-07-21 10:09:37 +0100 |
---|---|---|
committer | Arseniy-Movshev <dodoradio@outlook.com> | 2023-07-21 10:09:37 +0100 |
commit | 439c082257448309073c312f008888568628323b (patch) | |
tree | 20aaf5d7130b768951ce999565e5f5853930a80a | |
parent | 179fa87cd578f54409ea22071342fd2967bbf966 (diff) |
qmlPlugin: make file loading less verbose
This removes a large proportion of the log spam. This was getting a bit too much because UI now loads several graphs at once.
Diffstat (limited to '')
-rw-r--r-- | qmlplugin/hrDataLoader.cpp | 3 | ||||
-rw-r--r-- | qmlplugin/stepsDataLoader.cpp | 4 | ||||
-rw-r--r-- | qmlplugin/weightDataLoader.cpp | 3 |
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; } |