mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
[QT] overviewpage: make sure warning icons gets colored
This commit is contained in:
parent
377711ff3f
commit
16d9cb7e29
@ -121,6 +121,12 @@ OverviewPage::OverviewPage(QWidget *parent) :
|
|||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
|
// use a SingleColorIcon for the "out of sync warning" icon
|
||||||
|
QIcon icon = SingleColorIcon(":/icons/warning");
|
||||||
|
icon.addPixmap(icon.pixmap(QSize(64,64), QIcon::Normal), QIcon::Disabled); // also set the disabled icon because we are using a disabled QPushButton to work around missing HiDPI support of QLabel (https://bugreports.qt.io/browse/QTBUG-42503)
|
||||||
|
ui->labelTransactionsStatus->setIcon(icon);
|
||||||
|
ui->labelWalletStatus->setIcon(icon);
|
||||||
|
|
||||||
// Recent transactions
|
// Recent transactions
|
||||||
ui->listTransactions->setItemDelegate(txdelegate);
|
ui->listTransactions->setItemDelegate(txdelegate);
|
||||||
ui->listTransactions->setIconSize(QSize(DECORATION_SIZE, DECORATION_SIZE));
|
ui->listTransactions->setIconSize(QSize(DECORATION_SIZE, DECORATION_SIZE));
|
||||||
|
Loading…
Reference in New Issue
Block a user