]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Qt4 porting.
authormkr <mkr@opencascade.com>
Wed, 5 Mar 2008 10:16:27 +0000 (10:16 +0000)
committermkr <mkr@opencascade.com>
Wed, 5 Mar 2008 10:16:27 +0000 (10:16 +0000)
src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx

index 47a2ac067b0c8815cbc3dcbaa4eec52cead75250..76a461c1912a5303d5763adf1299200af1ca7015 100644 (file)
@@ -2029,8 +2029,7 @@ void SALOME_PYQT_Module::XmlHandler::insertPopupItems( QDomNode& parentNode, QMe
                                                    label,                  // menu text
                                                    tooltip,                // status-bar text
                                                    QKeySequence( accel ),  // keyboard accelerator
-                                                   toggle,                 // toogled action
-                                                   menu );                 // menu should be parent 
+                                                   toggle );               // toogled action
          QAction* before = ( pos >= 0 && pos < actions.count() ) ? actions[ pos ] : 0;
          menu->insertAction( before, action );
        }