mirror of
https://github.com/status-im/snorenotify.git
synced 2025-02-10 07:26:22 +00:00
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) {
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user