mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-19 05:00:37 +05:00
Replace Ok/Cancel by Yes/No
Translation into another language is automatically done by Qt, no "tr" is needed.
This commit is contained in:
parent
50a3c17fdb
commit
2a4038f828
@ -108,8 +108,8 @@ GEOMToolsGUI_DeleteDlg::GEOMToolsGUI_DeleteDlg( QWidget* parent,
|
|||||||
lab->setText( tr( "GEOM_REALLY_DELETE_ALL" ) );
|
lab->setText( tr( "GEOM_REALLY_DELETE_ALL" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
QDialogButtonBox* buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok
|
QDialogButtonBox* buttonBox = new QDialogButtonBox(QDialogButtonBox::Yes
|
||||||
| QDialogButtonBox::Cancel);
|
| QDialogButtonBox::No);
|
||||||
int rc = topLayout->rowCount();
|
int rc = topLayout->rowCount();
|
||||||
topLayout->addWidget( buttonBox, rc, 1, 1, 1 );
|
topLayout->addWidget( buttonBox, rc, 1, 1, 1 );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user