Remove unused variable.
This commit is contained in:
parent
d7912e21d8
commit
b0cd5def42
|
@ -17,7 +17,6 @@
|
|||
|
||||
#include <KLocalizedString>
|
||||
#include <KPluginFactory>
|
||||
#include <KPluginLoader>
|
||||
#include <KPluginMetaData>
|
||||
|
||||
struct CoreBackendManagerPrivate
|
||||
|
@ -60,7 +59,6 @@ bool CoreBackendManager::load(const QString& name)
|
|||
unload();
|
||||
|
||||
QString path = QStringLiteral("kpmcore/") + name;
|
||||
KPluginLoader loader(path);
|
||||
|
||||
KPluginMetaData metadata(path);
|
||||
d->m_Backend = KPluginFactory::instantiatePlugin<CoreBackend>(metadata).plugin;
|
||||
|
|
|
@ -14,10 +14,10 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include <QStringList>
|
||||
#include <QVector>
|
||||
|
||||
class QString;
|
||||
class QStringList;
|
||||
class KPluginMetaData;
|
||||
class CoreBackend;
|
||||
struct CoreBackendManagerPrivate;
|
||||
|
|
Loading…
Reference in New Issue