Qt4 porting: fix SIGSEGV on Renumbering dialog activation.

This commit is contained in:
mkr 2008-03-20 08:56:48 +00:00
parent 27aae352dc
commit b2e2ef901d

View File

@ -92,10 +92,10 @@ SMESHGUI_RenumberingDlg::SMESHGUI_RenumberingDlg( SMESHGUI* theModule, const int
SMESHGUI_RenumberingDlgLayout->setMargin(MARGIN); SMESHGUI_RenumberingDlgLayout->setMargin(MARGIN);
/***************************************************************/ /***************************************************************/
QGroupBox* GroupConstructors = new QGroupBox(unit == 0 ? GroupConstructors = new QGroupBox(unit == 0 ?
tr("SMESH_NODES") : tr("SMESH_NODES") :
tr("SMESH_ELEMENTS"), tr("SMESH_ELEMENTS"),
this); this);
myHelpFileName = unit == 0 ? myHelpFileName = unit == 0 ?
"renumbering_nodes_and_elements_page.html#renumbering_nodes_anchor" : "renumbering_nodes_and_elements_page.html#renumbering_nodes_anchor" :
"renumbering_nodes_and_elements_page.html#renumbering_elements_anchor"; "renumbering_nodes_and_elements_page.html#renumbering_elements_anchor";