qt: Call parent class showEvent + override it explicit

Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
This commit is contained in:
dustinface 2020-09-26 16:33:52 +02:00 committed by xdustinface
parent 838ac3b0b0
commit 957be4813a
2 changed files with 2 additions and 1 deletions

View File

@ -463,6 +463,7 @@ void OptionsDialog::showEvent(QShowEvent* event)
if (!event->spontaneous()) {
updateWidth();
}
QDialog::showEvent(event);
}
ProxyAddressValidator::ProxyAddressValidator(QObject *parent) :

View File

@ -78,7 +78,7 @@ private:
AppearanceWidget* appearance;
bool fPrivateSendEnabledPrev{false};
void showEvent(QShowEvent* event);
void showEvent(QShowEvent* event) override;
};
#endif // BITCOIN_QT_OPTIONSDIALOG_H