mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Ref T107, some minor fixes while investigating T107
This commit is contained in:
committed by
Mathew Sutcliffe
parent
880cedec5d
commit
0e3a06c24e
@@ -103,7 +103,7 @@ namespace BlackCore
|
||||
const QJsonObject json = loader.metaData();
|
||||
if (!isValid(json))
|
||||
{
|
||||
CLogMessage(this).warning("Plugin %1 invalid, not loading it") << path;
|
||||
CLogMessage(this).warning("Plugin '%1' invalid, not loading it") << path;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -93,4 +93,4 @@ namespace BlackCore
|
||||
};
|
||||
}
|
||||
|
||||
#endif // BLACKCORE_PLUGIN_MANAGER_H
|
||||
#endif // guard
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace BlackCore
|
||||
const CSequence<QJsonObject> &plugins = getPlugins();
|
||||
for (const QJsonObject &json : plugins)
|
||||
{
|
||||
QString iid = json["IID"].toString();
|
||||
const QString iid = json["IID"].toString();
|
||||
if (iid == QStringLiteral("org.swift-project.blackcore.simulatorinterface"))
|
||||
{
|
||||
auto it = m_plugins.insert(pluginIdentifier(json), {});
|
||||
|
||||
Reference in New Issue
Block a user