mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
GUI: Always call parent changeEvent handler
This commit is contained in:
@@ -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. */
|
||||
|
||||
@@ -567,6 +567,8 @@ void CoinControlDialog::changeEvent(QEvent* e)
|
||||
if (e->type() == QEvent::PaletteChange) {
|
||||
updateView();
|
||||
}
|
||||
|
||||
QDialog::changeEvent(e);
|
||||
}
|
||||
|
||||
void CoinControlDialog::updateView()
|
||||
|
||||
@@ -812,6 +812,7 @@ void ThemedLabel::changeEvent(QEvent* e)
|
||||
if (e->type() == QEvent::PaletteChange) {
|
||||
updateThemedPixmap();
|
||||
}
|
||||
|
||||
QLabel::changeEvent(e);
|
||||
}
|
||||
|
||||
|
||||
@@ -302,6 +302,8 @@ void OverviewPage::changeEvent(QEvent* e)
|
||||
ui->labelTransactionsStatus->setIcon(icon);
|
||||
ui->labelWalletStatus->setIcon(icon);
|
||||
}
|
||||
|
||||
QWidget::changeEvent(e);
|
||||
}
|
||||
|
||||
void OverviewPage::updateDisplayUnit()
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user