summaryrefslogtreecommitdiff
path: root/src/pluginlist.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-07-19 01:09:19 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-22 07:34:53 -0400
commitaae6d6a5aa8d6b101fcc38388222a8a6e7ee2ec6 (patch)
tree0550b5896c9f929342d3b5fd534f17f21a7fd579 /src/pluginlist.cpp
parentf13f5e21c42b3b5bdfdc4fcab50e10abd92c8486 (diff)
replaced qWarning()
Diffstat (limited to 'src/pluginlist.cpp')
-rw-r--r--src/pluginlist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp
index 2edb92f5..2fb743d0 100644
--- a/src/pluginlist.cpp
+++ b/src/pluginlist.cpp
@@ -417,7 +417,7 @@ void PluginList::addInformation(const QString &name, const QString &message)
if (iter != m_ESPsByName.end()) {
m_AdditionalInfo[name.toLower()].m_Messages.append(message);
} else {
- qWarning("failed to associate message for \"%s\"", qUtf8Printable(name));
+ log::warn("failed to associate message for \"{}\"", name);
}
}
@@ -694,7 +694,7 @@ void PluginList::setState(const QString &name, PluginStates state) {
m_ESPs[iter->second].m_Enabled = (state == IPluginList::STATE_ACTIVE) ||
m_ESPs[iter->second].m_ForceEnabled;
} else {
- qWarning("Plugin not found: %s", qUtf8Printable(name));
+ log::warn("Plugin not found: {}", name);
}
}