diff --git a/src/widgets/dalertcontrol.cpp b/src/widgets/dalertcontrol.cpp index 40eb413ee..c061cb5b2 100644 --- a/src/widgets/dalertcontrol.cpp +++ b/src/widgets/dalertcontrol.cpp @@ -235,6 +235,9 @@ void DAlertControl::showAlertMessage(const QString &text, QWidget *follower, int } d->follower->topLevelWidget()->installEventFilter(this); + // Fix bug-254383 + connect(d->follower, &QObject::destroyed, this, &DAlertControl::hideAlertMessage, Qt::UniqueConnection); + d->tooltip->setText(text); if (d->frame->parent()) { d->updateTooltipPos();