fixed crash
This commit is contained in:
parent
7e903ad093
commit
43aac4cfc6
|
@ -55,7 +55,10 @@ bool FreedesktopFrontend::init(SnoreCore *snore){
|
||||||
}
|
}
|
||||||
|
|
||||||
void FreedesktopFrontend::actionInvoked(Notification notification) {
|
void FreedesktopFrontend::actionInvoked(Notification notification) {
|
||||||
emit ActionInvoked(notification.id(),QString::number(notification.actionInvoked()->id));
|
if(notification.actionInvoked())
|
||||||
|
{
|
||||||
|
emit ActionInvoked(notification.id(),QString::number(notification.actionInvoked()->id));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FreedesktopFrontend::notificationClosed(Notification notification) {
|
void FreedesktopFrontend::notificationClosed(Notification notification) {
|
||||||
|
|
Loading…
Reference in New Issue