Port away from deprecated method.
This commit is contained in:
parent
1d7a4e4010
commit
c31eabc842
|
@ -63,7 +63,7 @@ bool CoreBackendManager::load(const QString& name)
|
|||
KPluginLoader loader(path);
|
||||
|
||||
KPluginFactory* factory = loader.factory();
|
||||
KPluginMetaData metadata(loader);
|
||||
KPluginMetaData metadata(path);
|
||||
|
||||
if (factory != nullptr) {
|
||||
d->m_Backend = factory->create<CoreBackend>(nullptr);
|
||||
|
|
Loading…
Reference in New Issue