Commit 446dbbc2 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Remove IsPairedRole

It was not a good idea
parent e227c61c
......@@ -170,8 +170,6 @@ QVariant DevicesModel::data(const QModelIndex& index, int role) const
}
case IconNameRole:
return device->iconName();
case IsPairedRole:
return QVariant::fromValue<bool>(device->isPaired());
default:
return QVariant();
}
......
......@@ -44,8 +44,7 @@ public:
IconModelRole = Qt::DecorationRole,
StatusModelRole = Qt::InitialSortOrderRole,
IdModelRole = Qt::UserRole,
IconNameRole,
IsPairedRole
IconNameRole
};
enum StatusFlag {
StatusUnknown = 0x00,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment