fixed return

This commit is contained in:
Patrick von Reth 2014-08-01 15:46:40 +02:00
parent bad5d8980c
commit 6c8a3e294c
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ bool SnoreCore::setPrimaryNotificationBackend ( const QString &backend )
Q_D(SnoreCore);
if(backend == primaryNotificationBackend())
{
return;
return true;
}
const QHash<QString,PluginContainer *> backends = PluginContainer::pluginCache(SnorePlugin::BACKEND);
if(!backends.contains(backend))