default:
dat = QVariant();
}
+ } else if (role == Qt::ForegroundRole) {
+ switch(index.column())
+ {
+ case sName:
+ if(!play->pList->at(index.row())->downloaded)
+ dat = QVariant(Qt::gray);
+ else
+ dat = QVariant();
+ break;
+ default:
+ dat = QVariant();
+ }
} else if (role == Qt::DisplayRole) {
switch(index.column())
{