QIcon: ensure that QIconLoader is initialized
authorDmitry Shachnev <mitya57@gmail.com>
Sun, 3 Mar 2013 15:08:35 +0000 (19:08 +0400)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 6 Mar 2013 16:26:08 +0000 (17:26 +0100)
commit2041f4eae8e2ac9e144647e86f800484d0ef7438
treef6374d47522c4860f7275053e41189304d47bed1
parent4520cb98659960e343a3bcbcf4477858971290dc
QIcon: ensure that QIconLoader is initialized

Make sure that QIconLoader is initialized when QIcon::themeName()
is called. Otherwise, themeName() may return the wrong value.

Change-Id: I54621e31da24bdbe745e7d6ae6a1d58cb4190cd7
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
src/gui/image/qicon.cpp