From be8c3e4c91851c0afe84eea2b38bfacf6dbd2415 Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Thu, 2 Feb 2017 21:52:55 +0100 Subject: [PATCH] remove duplicates from unscalable icons list no need to report the same icon name multiple times --- autotests/scalabletest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/autotests/scalabletest.cpp b/autotests/scalabletest.cpp index 011b05c0..e56a606d 100644 --- a/autotests/scalabletest.cpp +++ b/autotests/scalabletest.cpp @@ -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());