Browse Source

Merge pull request #6160

16d9cb7 [QT] overviewpage: make sure warning icons gets colored (Jonas Schnelli)
0.13
Wladimir J. van der Laan 10 years ago
parent
commit
0d862c2739
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 6
      src/qt/overviewpage.cpp

6
src/qt/overviewpage.cpp

@ -121,6 +121,12 @@ OverviewPage::OverviewPage(QWidget *parent) : @@ -121,6 +121,12 @@ OverviewPage::OverviewPage(QWidget *parent) :
{
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
ui->listTransactions->setItemDelegate(txdelegate);
ui->listTransactions->setIconSize(QSize(DECORATION_SIZE, DECORATION_SIZE));

Loading…
Cancel
Save