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