From: vsr Date: Thu, 2 Aug 2007 14:11:05 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: qt4_porting_delivery_220807~56 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0803e4ae0e5473827259af4c2623f4eebebfbbc7;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/LightApp/LightApp_Module.cxx b/src/LightApp/LightApp_Module.cxx index d67881b80..de6b79c42 100644 --- a/src/LightApp/LightApp_Module.cxx +++ b/src/LightApp/LightApp_Module.cxx @@ -128,7 +128,6 @@ void LightApp_Module::contextMenuPopup( const QString& client, QMenu* menu, QStr popupMgr()->setSelection( sel ); popupMgr()->setMenu( menu ); popupMgr()->updateMenu(); - delete sel; } /*!Update object browser. diff --git a/src/LightApp/LightApp_ShowHideOp.cxx b/src/LightApp/LightApp_ShowHideOp.cxx index 22762198d..39d845bac 100644 --- a/src/LightApp/LightApp_ShowHideOp.cxx +++ b/src/LightApp/LightApp_ShowHideOp.cxx @@ -149,6 +149,4 @@ void LightApp_ShowHideOp::startOperation() } d->UpdateViewer(); commit(); - - delete sel; }