diff options
author | Thorbjørn Martsum <tmartsum@gmail.com> | 2018-04-04 11:36:31 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-06-11 06:23:30 +0000 |
commit | e097d63195483ad872f9da618ca2df16b03e72ec (patch) | |
tree | 945eba2f079a5dd512be4d3339067fbb705c450e /tests/auto/bic | |
parent | 49fec043a9341fb26a9ca03ad98f5d8516dc2b3e (diff) | |
download | qtsvg-e097d63195483ad872f9da618ca2df16b03e72ec.tar.gz |
Make svg icons work as pixmap icons
This patch makes the svg icon code similar to the code for pixmap icons.
We only style the code if we fetch a different mode (+it is not normal)
and we try to find icons in same order as the pixmap icons.
[ChangeLog][][QIcon/QSvgIconEngine] Made SVG icons behave like pixmap icons:
An explicitly-set disabled icon is no longer additionally grayed out.
Task-number: QTBUG-67452
Change-Id: I94b4146bae2e9d924a96b602bf23909bd7f0e934
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Morten Kristensen <msk@nullpointer.dk>
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'tests/auto/bic')
0 files changed, 0 insertions, 0 deletions