diff options
| author | Olivier Goffart <ogoffart@woboq.com> | 2015-09-08 17:22:01 +0200 |
|---|---|---|
| committer | Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> | 2015-09-13 16:23:24 +0000 |
| commit | e68d06714fa29f986d0fc7de324b79ea94493dfc (patch) | |
| tree | df80f8903542067ffe56dc553333495315ae7629 /src/tools/moc/preprocessor.cpp | |
| parent | 39a472430fb60b5020c94242f6bc071172772e01 (diff) | |
QIconLoader: Use the GTK+ icon caches
Loading icons is quite slow because we need to stat many files in many directories.
That's why gtk adds a cache in the icon theme directory so it avoids stating lots
of files.
The cache file can be generated with gtk-update-icon-cache utility on a theme
directory. If the cache is not present, corrupted, or outdated, the normal slow lookup
is still run.
[ChangeLog][QtGui][QIcon] fromTheme gained the ability to use the GTK icon cache
to speed up lookups.
Change-Id: I3ab8a9910be67a34034556023be61a86789a7893
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/tools/moc/preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
