mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 00:58:32 -04:00
Remove commented code
This commit is contained in:
parent
62464a450c
commit
2cb20cd11e
@ -245,12 +245,6 @@ QVariant ComicModel::data(const QModelIndex &index, int role) const
|
||||
if (!index.isValid())
|
||||
return QVariant();
|
||||
|
||||
/*if (index.column() == TableModel::Rating && role == Qt::DecorationRole)
|
||||
{
|
||||
TableItem *item = static_cast<TableItem*>(index.internalPointer());
|
||||
return QPixmap(QString(":/images/rating%1.png").arg(item->data(index.column()).toInt()));
|
||||
}*/
|
||||
|
||||
if (role == Qt::DecorationRole) {
|
||||
return QVariant();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user