diff --git a/src/core/snore_p.cpp b/src/core/snore_p.cpp index 3b6cbfe..81728df 100644 --- a/src/core/snore_p.cpp +++ b/src/core/snore_p.cpp @@ -80,7 +80,7 @@ void SnoreCorePrivate::notificationActionInvoked(Notification notification) cons bool SnoreCorePrivate::setBackendIfAvailible(const QString &backend) { Q_Q(SnoreCore); - if( q->primaryNotificationBackend().contains(backend)) + if( m_notificationBackends.contains(backend)) { return q->setPrimaryNotificationBackend(backend); }