hi

I have a statement like in the following;

if( option->state & QStyle::State_MouseOver)
{

....
}

in the paint method.

The problem is that the bitwise operation always return 0 so I couldn't go through the if. Do I need to do extra things before if?

Thanks in advance.