/trunk/ClassEditor/delegate.cpp |
---|
308,9 → 308,7 |
} |
else { |
//QItemDelegate::paint(painter, option, index); |
return; |
return; |
} |
icnFrm->setPixmap(m_pxPicture); |
} |
323,8 → 321,6 |
QAbstractItemModel *model, |
const QModelIndex& index) const { |
IconForm *icnFrm = static_cast<IconForm*>(editor); |
if (!(icnFrm->dataIsChanged())) return; |
m_pxPicture = icnFrm->pixmap(); |
QImage currentImage = m_pxPicture.toImage(); |
QByteArray bytes; |