GUI: Always call parent changeEvent handler
This commit is contained in:
1 parent
c901d4d8ce
commit
9d5bf6bf01
8 files changed
+15
No files matched your search
@@ -1515,6 +1515,8 @@ void UnitDisplayStatusBarControl::changeEvent(QEvent* e)
|
|||||||
setStyleSheet(style);
|
setStyleSheet(style);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QLabel::changeEvent(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Creates context menu, its actions, and wires up all the relevant signals for mouse events. */
|
/** 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) {
|
if (e->type() == QEvent::PaletteChange) {
|
||||||
updateView();
|
updateView();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QDialog::changeEvent(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CoinControlDialog::updateView()
|
void CoinControlDialog::updateView()
|
||||||
|
|||||||
@@ -812,6 +812,7 @@ void ThemedLabel::changeEvent(QEvent* e)
|
|||||||
if (e->type() == QEvent::PaletteChange) {
|
if (e->type() == QEvent::PaletteChange) {
|
||||||
updateThemedPixmap();
|
updateThemedPixmap();
|
||||||
}
|
}
|
||||||
|
|
||||||
QLabel::changeEvent(e);
|
QLabel::changeEvent(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -302,6 +302,8 @@ void OverviewPage::changeEvent(QEvent* e)
|
|||||||
ui->labelTransactionsStatus->setIcon(icon);
|
ui->labelTransactionsStatus->setIcon(icon);
|
||||||
ui->labelWalletStatus->setIcon(icon);
|
ui->labelWalletStatus->setIcon(icon);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QWidget::changeEvent(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OverviewPage::updateDisplayUnit()
|
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));
|
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)
|
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_is->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
|
||||||
ui->deleteButton_s->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
|
ui->deleteButton_s->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QStackedWidget::changeEvent(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SendCoinsEntry::updateLabel(const QString &address)
|
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->verifyMessageButton_VM->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/transaction_0")));
|
||||||
ui->clearButton_VM->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
|
ui->clearButton_VM->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QDialog::changeEvent(e);
|
||||||
}
|
}
|
||||||
@@ -253,6 +253,8 @@ void TransactionView::changeEvent(QEvent* e)
|
|||||||
TransactionFilterProxy::WatchOnlyFilter_No,
|
TransactionFilterProxy::WatchOnlyFilter_No,
|
||||||
m_platform_style->SingleColorIcon(QStringLiteral(":/icons/eye_minus")));
|
m_platform_style->SingleColorIcon(QStringLiteral(":/icons/eye_minus")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QWidget::changeEvent(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TransactionView::chooseDate(int idx)
|
void TransactionView::chooseDate(int idx)
|
||||||
|
|||||||
Reference in new issue
Block a user