From fa1ca80281621002c3d8c948edc31e8b4b349b78 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sat, 5 Mar 2016 10:46:19 +0100 Subject: [PATCH] Fix iconitem test Icon name for QIcon must be from test-theme --- autotests/iconitemtest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autotests/iconitemtest.cpp b/autotests/iconitemtest.cpp index 132442714..5853f7445 100644 --- a/autotests/iconitemtest.cpp +++ b/autotests/iconitemtest.cpp @@ -337,8 +337,8 @@ void IconItemTest::qiconFromTheme() { // Icon from Plasma theme QQuickItem *item1 = createIconItem(); - item1->setProperty("source", QIcon::fromTheme("zoom-fit-height")); - QIcon icon1 = QIcon::fromTheme("zoom-fit-height"); + QIcon icon1 = QIcon::fromTheme("konversation"); + item1->setProperty("source", icon1); QVERIFY(item1->findChild()); QVERIFY(!imageIsEmpty(grabImage(item1))); QCOMPARE(icon1, item1->property("source").value());