PDA

View Full Version : How do compare the two icons



addu
10th July 2009, 12:06
Hi All

How do i compare the two icons..

One one suggested me

if (icon.pixmap(icon.actualSize()).toImage() == icon1.pixmap(icon1.actualSize()).toImage())

But this one is not working


Thanks

Addu R

wysota
10th July 2009, 16:19
What do you want to compare exactly and why? Where do these icons come from?