fixed crash

This commit is contained in:
Patrick von Reth 2013-07-05 18:36:08 +02:00
parent e4769b3dc7
commit b4e3488561
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ uint SnoreCore::broadcastNotification ( Notification notification )
qDebug()<<"Notification backend "<<m_notificationBackend<<" isnt initialized will snore will exit now"; qDebug()<<"Notification backend "<<m_notificationBackend<<" isnt initialized will snore will exit now";
qApp->quit(); qApp->quit();
} }
m_notificationBackend->slotNotify( notification ); notification.setId( m_notificationBackend->slotNotify( notification ));
m_notificationBackend->addActiveNotification(notification); m_notificationBackend->addActiveNotification(notification);
return notification.id(); return notification.id();
} }