make sure to disconnect signal
This commit is contained in:
parent
e0e74c1011
commit
9f5b476b05
|
@ -203,6 +203,7 @@ bool SnoreCore::setPrimaryNotificationBackend ( const QString &backend )
|
|||
qDebug()<<"Failed to initialize"<<b->name();
|
||||
return false;
|
||||
}
|
||||
disconnect(m_notificationBackend,SIGNAL(closeNotification(Snore::Notification)));
|
||||
connect(b,SIGNAL(closeNotification(Snore::Notification)),this,SLOT(slotNotificationClosed(Snore::Notification)));
|
||||
}
|
||||
m_notificationBackend = b;
|
||||
|
|
Loading…
Reference in New Issue