remove duplicates from unscalable icons list

no need to report the same icon name multiple times
This commit is contained in:
Harald Sitter 2017-02-02 21:52:55 +01:00
parent 5023cd9963
commit be8c3e4c91

View File

@ -235,6 +235,7 @@ private Q_SLOTS:
if (notScalableIcons.empty()) {
return;
}
notScalableIcons.removeDuplicates();
QFAIL(QString("The following icons are not available in a scalable directory:\n %1")
.arg(notScalableIcons.join("\n "))
.toLatin1());