summaryrefslogtreecommitdiff
path: root/qmlplugin/weightDataLoader.cpp
diff options
context:
space:
mode:
authorArseniy-Movshev <dodoradio@outlook.com>2023-07-21 10:09:37 +0100
committerArseniy-Movshev <dodoradio@outlook.com>2023-07-21 10:09:37 +0100
commit439c082257448309073c312f008888568628323b (patch)
tree20aaf5d7130b768951ce999565e5f5853930a80a /qmlplugin/weightDataLoader.cpp
parent179fa87cd578f54409ea22071342fd2967bbf966 (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 'qmlplugin/weightDataLoader.cpp')
-rw-r--r--qmlplugin/weightDataLoader.cpp3
1 files changed, 0 insertions, 3 deletions
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;
}