Hi!

I want to see if the current widget is also under the mouse. I used the function this->mouseGrabber()->underMouse() which gives me a segmentation fault.

then I tried this one:

Qt Code:
  1. QWidget *w = new QWidget(this->mouseGrabber());
  2.  
  3. if(w->underMouse()){
  4. //Do something
  5. }
To copy to clipboard, switch view to plain text mode 

but it return me false...I believe this should work