From: adv Date: Tue, 24 Apr 2012 11:55:02 +0000 (+0000) Subject: Crash on slow move up the mouse fixed. X-Git-Tag: CTH_1_7_3~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=47861d01f762652b3a20b24e197adc7beadfabe4;p=modules%2Fgui.git Crash on slow move up the mouse fixed. --- diff --git a/src/Qtx/QtxMultiAction.cxx b/src/Qtx/QtxMultiAction.cxx index c46689ffb..903e11798 100644 --- a/src/Qtx/QtxMultiAction.cxx +++ b/src/Qtx/QtxMultiAction.cxx @@ -84,7 +84,7 @@ protected: { QHelpEvent* help = static_cast( 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 );