diff options
author | Arseniy-Movshev <dodoradio@outlook.com> | 2023-07-23 00:31:21 +0100 |
---|---|---|
committer | Arseniy-Movshev <dodoradio@outlook.com> | 2023-07-23 00:38:07 +0100 |
commit | cbe0e8b5f3d48d2e041a83ae0ab95c4c82fc277a (patch) | |
tree | 4cbe363ac208645e854c70076522ee04103968e2 /qmlplugin | |
parent | 3ccc7bf59b1547d6250cdfaa1fce63828869c854 (diff) |
Weight: make sure we have a directory to write into
Diffstat (limited to 'qmlplugin')
-rw-r--r-- | qmlplugin/weightDataLoader.cpp | 2 |
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() { |