diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2015-09-07 15:10:03 +0200 |
---|---|---|
committer | Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> | 2015-09-11 12:42:20 +0000 |
commit | d3a21a18de73b70d0f20a36ae36439eac1f17ce4 (patch) | |
tree | 9b75c1cd1021d01880377cd399c6f5356ee87cbc /LICENSE.LGPLv21 | |
parent | 1464118b67a030d290eb14e7c6612202273e1366 (diff) |
QIcon: add a new overload of QIcon that does not call availableSizes
This is done so icons from QIcon::fromTheme are loaded lazily and
we do not pay for looking up icons that are never used
[ChangeLog][QtGui][QIcon] Split fromTheme() in two different overload,
one of which would only lazily lookup the icons, in order to speed up
startup of applications that initialize many icons that are not necessarily
visible.
Change-Id: I2ba3aa3a0eae6c8f1ff041a0f5bbb10ad32e3991
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'LICENSE.LGPLv21')
0 files changed, 0 insertions, 0 deletions