fixed crash
This commit is contained in:
parent
e4769b3dc7
commit
b4e3488561
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue