This commit is contained in:
Patrick von Reth 2014-01-21 10:53:31 +01:00
parent 812f59f935
commit 2ecbba5980
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ void SnoreCorePrivate::notificationActionInvoked(Notification notification) cons
bool SnoreCorePrivate::setBackendIfAvailible(const QString &backend) bool SnoreCorePrivate::setBackendIfAvailible(const QString &backend)
{ {
Q_Q(SnoreCore); Q_Q(SnoreCore);
if( q->primaryNotificationBackend().contains(backend)) if( m_notificationBackends.contains(backend))
{ {
return q->setPrimaryNotificationBackend(backend); return q->setPrimaryNotificationBackend(backend);
} }