|
@ -232,7 +232,13 @@ int TxTableModel::columnCount(const QModelIndex&) const |
|
|
return QVariant(icon.pixmap(16, 16)); |
|
|
return QVariant(icon.pixmap(16, 16)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// TODO: Maybe detect mining/coinbase reward and show mining icon
|
|
|
// Mined
|
|
|
|
|
|
if(this->getType(index.row()) == "generate"){ |
|
|
|
|
|
QImage image = colorizeIcon(QIcon(":/icons/res/tx_mined.png"), color); |
|
|
|
|
|
QIcon icon; |
|
|
|
|
|
icon.addPixmap(QPixmap::fromImage(image)); |
|
|
|
|
|
return QVariant(icon.pixmap(16, 16)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// Empty pixmap to make it align (old behavior)
|
|
|
// Empty pixmap to make it align (old behavior)
|
|
|
QPixmap p(16, 16); |
|
|
QPixmap p(16, 16); |
|
|