Fixed loading plugins

This commit is contained in:
jendas 2015-07-28 21:36:36 +02:00
parent 0b4b0b89bc
commit 944f21f47c
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void SnoreCore::loadPlugins(SnorePlugin::PluginTypes types)
} }
} }
} }
QMetaObject::invokeMethod(d, "slotInitPrimaryNotificationBackend", Qt::QueuedConnection); QMetaObject::invokeMethod(d, "slotInitPrimaryNotificationBackend", Qt::DirectConnection); // Direct connection is used because the notification backend should be available after plugins are loaded
snoreDebug(SNORE_INFO) << "Loaded Plugins:" << d->m_pluginNames; snoreDebug(SNORE_INFO) << "Loaded Plugins:" << d->m_pluginNames;
} }