0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

GUI: Always call parent changeEvent handler

This commit is contained in:
Luke Dashjr 2021-06-22 19:24:35 +00:00
parent c901d4d8ce
commit 9d5bf6bf01
8 changed files with 15 additions and 0 deletions

View file

@ -1515,6 +1515,8 @@ void UnitDisplayStatusBarControl::changeEvent(QEvent* e)
setStyleSheet(style);
}
}
QLabel::changeEvent(e);
}
/** Creates context menu, its actions, and wires up all the relevant signals for mouse events. */

View file

@ -567,6 +567,8 @@ void CoinControlDialog::changeEvent(QEvent* e)
if (e->type() == QEvent::PaletteChange) {
updateView();
}
QDialog::changeEvent(e);
}
void CoinControlDialog::updateView()

View file

@ -812,6 +812,7 @@ void ThemedLabel::changeEvent(QEvent* e)
if (e->type() == QEvent::PaletteChange) {
updateThemedPixmap();
}
QLabel::changeEvent(e);
}

View file

@ -302,6 +302,8 @@ void OverviewPage::changeEvent(QEvent* e)
ui->labelTransactionsStatus->setIcon(icon);
ui->labelWalletStatus->setIcon(icon);
}
QWidget::changeEvent(e);
}
void OverviewPage::updateDisplayUnit()

View file

@ -895,6 +895,8 @@ void RPCConsole::changeEvent(QEvent* e)
platformStyle->SingleColorImage(ICON_MAPPING[i].source).scaled(QSize(consoleFontSize * 2, consoleFontSize * 2), Qt::IgnoreAspectRatio, Qt::SmoothTransformation));
}
}
QWidget::changeEvent(e);
}
void RPCConsole::message(int category, const QString &message, bool html)

View file

@ -245,6 +245,8 @@ void SendCoinsEntry::changeEvent(QEvent* e)
ui->deleteButton_is->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
ui->deleteButton_s->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
}
QStackedWidget::changeEvent(e);
}
bool SendCoinsEntry::updateLabel(const QString &address)

View file

@ -296,4 +296,6 @@ void SignVerifyMessageDialog::changeEvent(QEvent* e)
ui->verifyMessageButton_VM->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/transaction_0")));
ui->clearButton_VM->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
}
QDialog::changeEvent(e);
}

View file

@ -253,6 +253,8 @@ void TransactionView::changeEvent(QEvent* e)
TransactionFilterProxy::WatchOnlyFilter_No,
m_platform_style->SingleColorIcon(QStringLiteral(":/icons/eye_minus")));
}
QWidget::changeEvent(e);
}
void TransactionView::chooseDate(int idx)