/trunk/ClassEditor/mymodel.cpp |
---|
138,7 → 138,9 |
} |
case Qt::DecorationRole: { |
/* if(index.column() == 5) { |
if(index.column() == 1) return iconProvider.icon(QFileIconProvider::Folder); |
else return QVariant(); |
/*{ |
QVariant currentImage = QSqlTableModel::data(index, 0); |
QByteArray bytes = currentImage.toByteArray(); |
QPixmap pxmp; |