summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {