Move some icon code from WindowsStyle to CommonStyle
authorJens Bache-Wiig <jens.bache-wiig@digia.com>
Mon, 22 Oct 2012 10:32:25 +0000 (12:32 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 22 Oct 2012 17:36:43 +0000 (19:36 +0200)
commit11566de014ed22051a53f1f0c94697fd18a87500
treec338541a409b61194a732bcb1956468fb59f66b3
parent33d9b9f326449341d6a9afd55299e5e1ad7ad037
Move some icon code from WindowsStyle to CommonStyle

Fusion style only depends on CommonStyle and it seems the autotest
for tst_QFileSystemModel:iconProvider assumes an icon will be
returned from standardPixmap. Since we dont want the icons
to depend on style in this case we should move all this to commonstyle.

Change-Id: I3a26367e5c0aefe2a39838f0c2cadc4f7afad89d
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
src/widgets/styles/qcommonstyle.cpp
src/widgets/styles/qcommonstylepixmaps_p.h
src/widgets/styles/qwindowsstyle.cpp