From ebfc9666eb8bddbb4df87f50dc0ec2bb21ea0cd4 Mon Sep 17 00:00:00 2001 From: Micke Prag Date: Fri, 28 Oct 2011 09:49:34 +0200 Subject: [PATCH] Show protocol and id as name for now. Editing of sensors is currently not implemented. --- telldus-gui/Plugins/Sensors/sensor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/telldus-gui/Plugins/Sensors/sensor.cpp b/telldus-gui/Plugins/Sensors/sensor.cpp index 6a39b006..cb04f2fc 100644 --- a/telldus-gui/Plugins/Sensors/sensor.cpp +++ b/telldus-gui/Plugins/Sensors/sensor.cpp @@ -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; }