1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Delete the popup immediately to prevent it "blocking" an error message

This commit is contained in:
Martin Tůma 2020-01-12 16:01:38 +01:00
parent 2efc6fb6d3
commit 60b33064a7

View File

@ -167,5 +167,5 @@ void Popup::show(const QPoint &pos, const QString &text, QWidget *w)
void Popup::clear() void Popup::clear()
{ {
if (PopupLabel::_instance) if (PopupLabel::_instance)
PopupLabel::_instance->deleteLater(); delete PopupLabel::_instance;
} }