fixed crash

This commit is contained in:
Patrick von Reth 2013-07-24 15:23:36 +02:00
parent 7e903ad093
commit 43aac4cfc6
1 changed files with 4 additions and 1 deletions

View File

@ -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) {