diff options
Diffstat (limited to '')
-rw-r--r-- | qmlplugin/weightDataLoader.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qmlplugin/weightDataLoader.cpp b/qmlplugin/weightDataLoader.cpp index a81201a..2331252 100644 --- a/qmlplugin/weightDataLoader.cpp +++ b/qmlplugin/weightDataLoader.cpp @@ -53,6 +53,10 @@ QVariant WeightDataLoader::getDataForDate(QDate date) { return QVariant::fromValue(m_filedata); } +void WeightDataLoader::addDataPoint(qreal value) { + fileAddRecord("weight",QString::number(value)); +} + void WeightDataLoader::triggerDaemonRecording() { m_iface->call("triggerRecording"); } |