summaryrefslogtreecommitdiff
path: root/src/pluginlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluginlist.cpp')
-rw-r--r--src/pluginlist.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp
index 0ed0d7f9..e730d3f4 100644
--- a/src/pluginlist.cpp
+++ b/src/pluginlist.cpp
@@ -90,6 +90,10 @@ PluginList::PluginList(QObject *parent)
}
+PluginList::~PluginList()
+{
+}
+
QString PluginList::getColumnName(int column)
{
@@ -675,8 +679,13 @@ QVariant PluginList::data(const QModelIndex &modelIndex, int role) const
} else {
QString text = tr("Origin: %1").arg(m_ESPs[index].m_OriginName);
if (m_ESPs[index].m_MasterUnset.size() > 0) {
- text += "\n" + tr("Missing Masters") + ": " + SetJoin(m_ESPs[index].m_MasterUnset, ", ");
+ text += "<br>" + tr("Missing Masters") + ": <b>" + SetJoin(m_ESPs[index].m_MasterUnset, ", ") + "</b>";
}
+ std::set<QString> enabledMasters;
+ std::set_difference(m_ESPs[index].m_Masters.begin(), m_ESPs[index].m_Masters.end(),
+ m_ESPs[index].m_MasterUnset.begin(), m_ESPs[index].m_MasterUnset.end(),
+ std::inserter(enabledMasters, enabledMasters.end()));
+ text += "<br>" + tr("Enabled Masters") + ": " + SetJoin(enabledMasters, ", ");
return text;
}
} else {