kdeui: remove redundant KMessageWidget::showEvent() reimplementation

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-11-21 02:17:22 +02:00
parent c43d9e8df7
commit 3b6f69ac67
2 changed files with 0 additions and 9 deletions

View file

@ -348,13 +348,6 @@ void KMessageWidget::paintEvent(QPaintEvent* event)
}
}
void KMessageWidget::showEvent(QShowEvent* event)
{
// Keep this method here to avoid breaking binary compatibility:
// QFrame::showEvent() used to be reimplemented.
QFrame::showEvent(event);
}
bool KMessageWidget::wordWrap() const
{
return d->wordWrap;

View file

@ -193,8 +193,6 @@ protected:
void resizeEvent(QResizeEvent *event);
void showEvent(QShowEvent *event);
private:
KMessageWidgetPrivate *const d;
friend class KMessageWidgetPrivate;