From: vsr Date: Mon, 9 Jul 2007 08:43:58 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: qt4_porting_delivery_220807~113 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8844592a17fb1ba0029d19c85f6985296d47486b;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/LightApp/LightApp_ModuleAction.cxx b/src/LightApp/LightApp_ModuleAction.cxx index 06095e262..8ceb1f958 100755 --- a/src/LightApp/LightApp_ModuleAction.cxx +++ b/src/LightApp/LightApp_ModuleAction.cxx @@ -392,9 +392,9 @@ int LightApp_ModuleAction::mode() const */ void LightApp_ModuleAction::addedTo( QWidget* w ) { - w->insertAction( mySet, this ); if ( w->inherits( "QToolBar" ) ) - w->insertAction( myCombo, this ); + w->insertAction( this, myCombo ); + w->insertAction( this, mySet ); update(); }