Fix QComboBox icon testing
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Sat, 13 Oct 2012 18:15:17 +0000 (19:15 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 16 Oct 2012 08:47:41 +0000 (10:47 +0200)
commit8f79ab354956119810490a18a1471141025a6db2
tree2b931699b02fb25183eb498d8b83b8894473f90b
parentf7241e8cb949ecf2d86fae2a759a8e1fdb148a26
Fix QComboBox icon testing

The icons used were always null -- the files used to create them were
not present. So

1) add back the files used for the test (qtlogo.png,
copied from src/widgets/dialogs/images/qtlogo-64.png, and qtlogoinverted.png,
its copy rotated by 180°);

2) use QFINDTESTDATA to get the paths to the files.

Change-Id: I26f094079e037116e49e2a95345c2dea7496eecb
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/widgets/widgets/qcombobox/qtlogo.png [new file with mode: 0644]
tests/auto/widgets/widgets/qcombobox/qtlogoinverted.png [new file with mode: 0644]
tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp