This commit is contained in:
Patrick von Reth 2014-02-13 19:03:16 +01:00
parent 49b79615ec
commit bb25700094
1 changed files with 4 additions and 3 deletions

View File

@ -78,9 +78,10 @@ void SnoreNotifier::slotCloseNotification(Snore::Notification notification)
NotifyWidget *w = m_widgets[notification.hints().privateValue(this, "id").toInt()];
if(!m_queue.isEmpty())
{
w->display(m_queue.takeLast());
notification.hints().setPrivateValue(this, "id", w->id());
startTimeout(notification);
Notification nextNoti = m_queue.takeLast();
w->display(nextNoti);
nextNoti.hints().setPrivateValue(this, "id", w->id());
startTimeout(nextNoti);
}
else
{