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