Remove IsPairedRole

It was not a good idea
This commit is contained in:
Aleix Pol 2014-06-27 16:16:45 +02:00
parent e227c61cf8
commit 446dbbc230
2 changed files with 1 additions and 4 deletions

View file

@ -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();
}

View file

@ -44,8 +44,7 @@ public:
IconModelRole = Qt::DecorationRole,
StatusModelRole = Qt::InitialSortOrderRole,
IdModelRole = Qt::UserRole,
IconNameRole,
IsPairedRole
IconNameRole
};
enum StatusFlag {
StatusUnknown = 0x00,