mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-19 14:38:22 -04:00
Lv2Manager: Print issues uniq-ed
This commit is contained in:
committed by
Johannes Lorenz
parent
f7128700b4
commit
7a85b4d547
@@ -67,6 +67,24 @@ const char *PluginIssue::msgFor(const PluginIssueType &it)
|
||||
|
||||
|
||||
|
||||
bool PluginIssue::operator==(const PluginIssue &other) const
|
||||
{
|
||||
return (m_issueType == other.m_issueType) && (m_info == other.m_info);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
bool PluginIssue::operator<(const PluginIssue &other) const
|
||||
{
|
||||
return (m_issueType != other.m_issueType)
|
||||
? m_issueType < other.m_issueType
|
||||
: m_info < other.m_info;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
QDebug operator<<(QDebug stream, const PluginIssue &iss)
|
||||
{
|
||||
stream << PluginIssue::msgFor(iss.m_issueType);
|
||||
|
||||
Reference in New Issue
Block a user