-
Committer:
Tarmac
-
Author(s):
Albert Astals Cid
-
Date:
2015-02-19 13:35:52 UTC
-
mfrom:
(1409.2.9 nonsquareicons)
-
Revision ID:
tarmac-20150219133552-awwsdh0ldxowgvad
Fix infinite icon size grow when asked for a non square icon
Without this patch we could end up in loops like
requested icon "battery-080-charging" QSize(24, 24)
returned QSize(37, 24)
requested icon "battery-080-charging" QSize(37, 24)
returned QSize(57, 37)
requested icon "battery-080-charging" QSize(57, 24)
returned QSize(88, 57)
requested icon "battery-080-charging" QSize(57, 37)
returned QSize(88, 57)
. Fixes: https://bugs.launchpad.net/bugs/1422835.
Approved by PS Jenkins bot, Lars Uebernickel, Zsombor Egri, Sebastien Bacher.