From cbe0e8b5f3d48d2e041a83ae0ab95c4c82fc277a Mon Sep 17 00:00:00 2001 From: Arseniy-Movshev Date: Sun, 23 Jul 2023 00:31:21 +0100 Subject: Weight: make sure we have a directory to write into --- qmlplugin/weightDataLoader.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() { -- cgit v1.2.3-70-g09d2