From 27dadd016422765acb774ed2ed9ddae480eda46d Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Mon, 18 Nov 2019 13:32:33 -0500
Subject:
in tooltip for information messages rewrote json output file
handling to check for errors
---
src/pluginlist.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'src/pluginlist.cpp')
diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp
index f35f9409..b50a51d8 100644
--- a/src/pluginlist.cpp
+++ b/src/pluginlist.cpp
@@ -963,7 +963,11 @@ QVariant PluginList::data(const QModelIndex &modelIndex, int role) const
QString toolTip;
if (addInfoIter != m_AdditionalInfo.end()) {
if (!addInfoIter->second.m_Messages.isEmpty()) {
- toolTip += addInfoIter->second.m_Messages.join("
") + "
";
+ toolTip += "";
+ for (auto&& message : addInfoIter->second.m_Messages) {
+ toolTip += "- " + message + "
";
+ }
+ toolTip += "
";
}
}
if (m_ESPs[index].m_ForceEnabled) {
--
cgit v1.3.1