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; }