Ref T107, some minor fixes while investigating T107

This commit is contained in:
Klaus Basan
2017-07-12 16:38:01 +02:00
committed by Mathew Sutcliffe
parent 880cedec5d
commit 0e3a06c24e
6 changed files with 11 additions and 5 deletions

View File

@@ -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;
}

View File

@@ -93,4 +93,4 @@ namespace BlackCore
};
}
#endif // BLACKCORE_PLUGIN_MANAGER_H
#endif // guard

View File

@@ -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), {});