1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Jason Papakostas 0b53c4fd5c fix(Widget::updateIcons): workaround QIcon fallback bug
Some builds of Qt appear to have a bug in icon loading: QIcon::hasThemeIcon
is sometimes unaware that the icon returned from QIcon::fromTheme was a
fallback icon, causing hasThemeIcon to incorrectly return true.

In qTox this leads to the tray and window icons using the static qTox logo
icon instead of an icon based on the current presence status.

This workaround checks for an icon that definitely does not exist to
determine if hasThemeIcon can be trusted.

On systems with the Qt bug, this workaround will always use our included
icons but user themes will be unable to override them.
2016-04-16 22:21:22 -05:00
..
2016-01-16 02:24:13 +01:00
2016-04-16 00:55:01 +02:00
2016-01-21 04:26:17 +01:00
2016-01-21 04:26:17 +01:00
2015-09-13 23:20:54 +02:00
2016-01-16 02:24:13 +01:00