Show protocol and id as name for now. Editing of sensors is currently not implemented.

This commit is contained in:
Micke Prag 2011-10-28 09:49:34 +02:00
parent 1bebaefff9
commit ebfc9666eb

View file

@ -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;
}