diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-18 13:32:33 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-18 13:32:33 -0500 |
| commit | 27dadd016422765acb774ed2ed9ddae480eda46d (patch) | |
| tree | 149ae11b02959f3e215840b5339902996f8c64aa /src/pluginlist.cpp | |
| parent | 1b6dc5e0a0ef365453abeaf52015d5eeeb6b7ae2 (diff) | |
<li> in tooltip for information messages
rewrote json output file handling to check for errors
Diffstat (limited to 'src/pluginlist.cpp')
| -rw-r--r-- | src/pluginlist.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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("<br>") + "<br><hr>";
+ toolTip += "<ul style=\"margin-left:15px; -qt-list-indent: 0;\">";
+ for (auto&& message : addInfoIter->second.m_Messages) {
+ toolTip += "<li>" + message + "</li>";
+ }
+ toolTip += "</ul><hr>";
}
}
if (m_ESPs[index].m_ForceEnabled) {
|
