KMessageWidget: hide messages regardless whether it's visible

Even if the message isn't visible hide it, don't just return.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-07-16 10:53:24 -07:00
parent 45392615cd
commit 4ec27b1751

View file

@ -435,6 +435,7 @@ void KMessageWidget::animatedHide()
}
if (!isVisible()) {
hide();
return;
}