From 60b33064a709d0a9cc7ddf6352a0954c792b5f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 12 Jan 2020 16:01:38 +0100 Subject: [PATCH] Delete the popup immediately to prevent it "blocking" an error message --- src/GUI/popup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/popup.cpp b/src/GUI/popup.cpp index 5d500fa6..7cbf8fe1 100644 --- a/src/GUI/popup.cpp +++ b/src/GUI/popup.cpp @@ -167,5 +167,5 @@ void Popup::show(const QPoint &pos, const QString &text, QWidget *w) void Popup::clear() { if (PopupLabel::_instance) - PopupLabel::_instance->deleteLater(); + delete PopupLabel::_instance; }