Details
-
Bug
-
Resolution: Invalid
-
P4: Low
-
4.6.0
-
None
-
Windows XP, Visual Studio 2005
Description
For all uic files containing icons the generated header files contains and iconID enumerator, with a last one called "unknown_ID".
The "unknown_ID" enum value is not part of the switch-case statement selecting the icons, this leads to a warning that the value is not used in the switch.
Please generate fallthrough in switch in method "static QPixmap qt_get_icon(IconID id)" like this:
case unknown_ID:
default: return QPixMap