summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/image/qicon/tst_qicon.qrc
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-09-08 17:22:01 +0200
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2015-09-13 16:23:24 +0000
commite68d06714fa29f986d0fc7de324b79ea94493dfc (patch)
treedf80f8903542067ffe56dc553333495315ae7629 /tests/auto/gui/image/qicon/tst_qicon.qrc
parent39a472430fb60b5020c94242f6bc071172772e01 (diff)
QIconLoader: Use the GTK+ icon caches
Loading icons is quite slow because we need to stat many files in many directories. That's why gtk adds a cache in the icon theme directory so it avoids stating lots of files. The cache file can be generated with gtk-update-icon-cache utility on a theme directory. If the cache is not present, corrupted, or outdated, the normal slow lookup is still run. [ChangeLog][QtGui][QIcon] fromTheme gained the ability to use the GTK icon cache to speed up lookups. Change-Id: I3ab8a9910be67a34034556023be61a86789a7893 Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests/auto/gui/image/qicon/tst_qicon.qrc')
-rw-r--r--tests/auto/gui/image/qicon/tst_qicon.qrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/gui/image/qicon/tst_qicon.qrc b/tests/auto/gui/image/qicon/tst_qicon.qrc
index 1505ca925b..3c8fbba7c2 100644
--- a/tests/auto/gui/image/qicon/tst_qicon.qrc
+++ b/tests/auto/gui/image/qicon/tst_qicon.qrc
@@ -15,6 +15,7 @@
<file>./icons/themeparent/32x32/actions/address-book-new.png</file>
<file>./icons/themeparent/32x32/actions/appointment-new.png</file>
<file>./icons/themeparent/index.theme</file>
+<file>./icons/themeparent/icon-theme.cache</file>
<file>./icons/themeparent/scalable/actions/address-book-new.svg</file>
<file>./icons/themeparent/scalable/actions/appointment-new.svg</file>
<file>./styles/commonstyle/images/standardbutton-open-16.png</file>