diff --git a/interfaces/devicesmodel.cpp b/interfaces/devicesmodel.cpp index b86bf5670..a3cba8375 100644 --- a/interfaces/devicesmodel.cpp +++ b/interfaces/devicesmodel.cpp @@ -155,9 +155,9 @@ QVariant DevicesModel::data(const QModelIndex& index, int role) const return QIcon::fromTheme(icon).pixmap(32, 32); } case IdModelRole: - return QString(device->id()); + return device->id(); case NameModelRole: - return QString(device->name()); + return device->name(); case Qt::ToolTipRole: return QVariant(); //To implement case StatusModelRole: {