summaryrefslogtreecommitdiff
path: root/qmlplugin
diff options
context:
space:
mode:
authorArseniy-Movshev <dodoradio@outlook.com>2023-07-23 00:31:21 +0100
committerArseniy-Movshev <dodoradio@outlook.com>2023-07-23 00:38:07 +0100
commitcbe0e8b5f3d48d2e041a83ae0ab95c4c82fc277a (patch)
tree4cbe363ac208645e854c70076522ee04103968e2 /qmlplugin
parent3ccc7bf59b1547d6250cdfaa1fce63828869c854 (diff)
Weight: make sure we have a directory to write into
Diffstat (limited to 'qmlplugin')
-rw-r--r--qmlplugin/weightDataLoader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmlplugin/weightDataLoader.cpp b/qmlplugin/weightDataLoader.cpp
index 0687fa8..1aab1fa 100644
--- a/qmlplugin/weightDataLoader.cpp
+++ b/qmlplugin/weightDataLoader.cpp
@@ -27,6 +27,8 @@ WeightDataLoader::WeightDataLoader() : QObject()
} else {
qDebug()<<"interface is valid";
}
+
+ setupFilePath("weight"); //since weight doesn't have a sensor plugin, we perform this check here
}
QVariant WeightDataLoader::getTodayData() {