qt5base-lts/tests/auto/gui
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
..
image Fixed icons lookup in QIcon::fromTheme 2015-02-02 23:28:19 +00:00
itemmodels Update license headers and add new license files 2014-09-24 12:26:19 +02:00
kernel Merge remote-tracking branch 'origin/5.4' into dev 2014-12-29 16:37:38 +01:00
math3d Introduce QQuaternion::inverted() 2015-01-28 12:37:50 +00:00
painting Avoid unneeded QBrush::texture() calls 2015-02-02 22:05:31 +00:00
qopengl Support Alpha8 and Grayscale8 natively in the OpenGL paint engine 2014-10-27 11:54:39 +01:00
text Deprecate QFont:: rawMode()/setRawMode() 2015-01-23 14:06:03 +01:00
util Observe QLocale::RejectGroupSeparator in QInt/DoubleValidator. 2014-11-20 16:38:23 +01:00
gui.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00