]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Crash on slow move up the mouse fixed.
authoradv <adv@opencascade.com>
Tue, 24 Apr 2012 11:55:02 +0000 (11:55 +0000)
committeradv <adv@opencascade.com>
Tue, 24 Apr 2012 11:55:02 +0000 (11:55 +0000)
src/Qtx/QtxMultiAction.cxx

index c46689ffb19e76fbdc2083aa08903b80fc68d2da..903e11798fcfc29a951de8f24799713bb1d33487 100644 (file)
@@ -84,7 +84,7 @@ protected:
       {
         QHelpEvent* help = static_cast<QHelpEvent*>( e );
         QWidget* w = QApplication::widgetAt( help->globalPos() );
-        if ( w && Qtx::isParent( w, this ) )
+        if ( w && w != this && Qtx::isParent( w, this ) )
         {
           QHelpEvent he( help->type(), w->mapFromGlobal( help->globalPos() ), help->globalPos() );
           QApplication::sendEvent( w, &he );