diff --git a/interfaces/devicesmodel.cpp b/interfaces/devicesmodel.cpp index 479a1d169..8242107cb 100644 --- a/interfaces/devicesmodel.cpp +++ b/interfaces/devicesmodel.cpp @@ -170,8 +170,6 @@ QVariant DevicesModel::data(const QModelIndex& index, int role) const } case IconNameRole: return device->iconName(); - case IsPairedRole: - return QVariant::fromValue(device->isPaired()); default: return QVariant(); } diff --git a/interfaces/devicesmodel.h b/interfaces/devicesmodel.h index 7cc0f9666..7479dea61 100644 --- a/interfaces/devicesmodel.h +++ b/interfaces/devicesmodel.h @@ -44,8 +44,7 @@ public: IconModelRole = Qt::DecorationRole, StatusModelRole = Qt::InitialSortOrderRole, IdModelRole = Qt::UserRole, - IconNameRole, - IsPairedRole + IconNameRole }; enum StatusFlag { StatusUnknown = 0x00,