diff options
Diffstat (limited to 'src/plugins/General/notifier/popupwidget.cpp')
| -rw-r--r-- | src/plugins/General/notifier/popupwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/notifier/popupwidget.cpp b/src/plugins/General/notifier/popupwidget.cpp index 63049f3c5..2cfca4690 100644 --- a/src/plugins/General/notifier/popupwidget.cpp +++ b/src/plugins/General/notifier/popupwidget.cpp @@ -69,7 +69,7 @@ PopupWidget::PopupWidget(QWidget *parent) m_timer = new QTimer(this); m_timer->setInterval(delay); m_timer->setSingleShot (true); - connect(m_timer, SIGNAL(timeout ()), SLOT(deleteLater())); + connect(m_timer, SIGNAL(timeout ()), SLOT(hide())); } PopupWidget::~PopupWidget() @@ -77,7 +77,7 @@ PopupWidget::~PopupWidget() void PopupWidget::mousePressEvent (QMouseEvent *) { - deleteLater(); + hide(); } void PopupWidget::showMetaData() |
