qt5base-lts/tests/auto/gui/image/qicon/icons/testtheme
Ruslan Nigmatullin a40d390a3b Fixed icons lookup in QIcon::fromTheme
This commit fixes incorrect logic of icons' lookup if there are
fallbacks or more than one theme's directory.

According to Icon Theme Specification, Directory Layout section, theme
can be spread across several base directories by having subdirectories
of the same name. This makes possible to extend system themes by
application-specific icons without making of collisions with other
applications.

According to Icon Naming Specification, Icon Naming Guidelines section,
icon name may contain dashes to separate levels of specificity in icon
names. This makes possible to set in application very specific icon
which may be not in every theme. So it can fallback to less specific one.

Change-Id: Iafc813902a3646be56e8f1d3a2fdbf8fd32ac542
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-02-02 23:28:19 +00:00
..
16x16/actions QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00
22x22/actions QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00
scalable/actions QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00
index.theme QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00