qt: update ReadableData

This commit is contained in:
Jussi Kuokkanen 2019-12-01 13:52:05 +02:00
parent 06ebca7562
commit f96c26b5c3

View File

@ -16,6 +16,7 @@ public:
bool isConstant() {return m_readableNode->constant;}
QString name() {return QString(m_readableNode->name);}
QString unit() {return QString(m_readableNode->unit);}
const tc_readable_node_t *node() {return m_readableNode;}
const tc_variant_t constData() {
if (!isConstant()) {
tc_variant_t retval;