remove duplicates from unscalable icons list
no need to report the same icon name multiple times
This commit is contained in:
parent
5023cd9963
commit
be8c3e4c91
@ -235,6 +235,7 @@ private Q_SLOTS:
|
|||||||
if (notScalableIcons.empty()) {
|
if (notScalableIcons.empty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
notScalableIcons.removeDuplicates();
|
||||||
QFAIL(QString("The following icons are not available in a scalable directory:\n %1")
|
QFAIL(QString("The following icons are not available in a scalable directory:\n %1")
|
||||||
.arg(notScalableIcons.join("\n "))
|
.arg(notScalableIcons.join("\n "))
|
||||||
.toLatin1());
|
.toLatin1());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user