diff options
| author | Tannin <devnull@localhost> | 2013-09-28 21:13:57 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-09-28 21:13:57 +0200 |
| commit | 47293827bbd92ce227e5188c10b66deb9f85d5bf (patch) | |
| tree | c8e9f34dc3105a3e73b41f8b2fb58d58439b06e0 /src/pluginlist.cpp | |
| parent | 0a3169b808cf2b84ae7c77fd6cb0a7b0aa9a8df3 (diff) | |
- download progress is now visible in task bar
- esp-tooltip now lists all masters, highlighting the missing ones
- python plugin will now report a problem if the path contains a semicolon
- leak detection now (somewaht) works around the fact that we don't always get a stack trace
- bugfix: mod meta-file is now reliably created if it was missing
- bugfix: parser for nxm-links didn't handle numbers in the mod name
- bugfix: small memory leak
Diffstat (limited to 'src/pluginlist.cpp')
| -rw-r--r-- | src/pluginlist.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index 0ed0d7f9..39cca6af 100644 --- a/src/pluginlist.cpp +++ b/src/pluginlist.cpp @@ -675,8 +675,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 { |
