Ok I'm trying to tell the difference between left mouse button drops and right mouse button ones.

So I'm using the QDropEvent->mouseButtons() method to return errr well I'm not sure, how do I test these flag things exactly?

I tried if(event->mouseButtons()==Qt::leftMouseButton) which compiles fine but gives a segmentation fault.