diff --git a/interfaces/devicesmodel.cpp b/interfaces/devicesmodel.cpp index baafd3feb..53c2d3356 100644 --- a/interfaces/devicesmodel.cpp +++ b/interfaces/devicesmodel.cpp @@ -70,6 +70,7 @@ DevicesModel::DevicesModel(QObject* parent) QHash< int, QByteArray > DevicesModel::roleNames() const { QHash names = QAbstractItemModel::roleNames(); + names.insert(NameModelRole, "deviceName"); names.insert(IdModelRole, "deviceId"); names.insert(IconNameRole, "iconName"); names.insert(DeviceRole, "device");