Show protocol and id as name for now. Editing of sensors is currently not implemented.
This commit is contained in:
parent
1bebaefff9
commit
ebfc9666eb
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ void Sensor::setModel(const QString &model) {
|
|||
}
|
||||
|
||||
QString Sensor::name() const {
|
||||
return QString("%1 %2").arg(this->protocol()).arg(this->id()); //TODO: Remove when name is fully implemented
|
||||
return d->name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue