From: stv Date: Thu, 27 Oct 2005 10:23:18 +0000 (+0000) Subject: no message X-Git-Tag: BR-D5-38-2003_D2005-27-10~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4f8b8569832de75fcf44ffe4efe9ac03e95c3d6a;p=modules%2Fgui.git no message --- diff --git a/src/Qtx/QtxMRUAction.cxx b/src/Qtx/QtxMRUAction.cxx index 4e0074bc4..191ba6185 100755 --- a/src/Qtx/QtxMRUAction.cxx +++ b/src/Qtx/QtxMRUAction.cxx @@ -473,7 +473,7 @@ void QtxMRUAction::onActivated( int id ) void QtxMRUAction::onDestroyed( QObject* obj ) { - if ( !obj || !obj->inherits( "QPopupMenu" ) ) + if ( !obj ) return; myItems.remove( (QPopupMenu*)obj );