Replace Ok/Cancel by Yes/No

Translation into another language is automatically done by Qt, no "tr" is needed.
This commit is contained in:
gdd 2011-02-01 10:56:40 +00:00
parent 50a3c17fdb
commit 2a4038f828

View File

@ -108,8 +108,8 @@ GEOMToolsGUI_DeleteDlg::GEOMToolsGUI_DeleteDlg( QWidget* parent,
lab->setText( tr( "GEOM_REALLY_DELETE_ALL" ) );
}
QDialogButtonBox* buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok
| QDialogButtonBox::Cancel);
QDialogButtonBox* buttonBox = new QDialogButtonBox(QDialogButtonBox::Yes
| QDialogButtonBox::No);
int rc = topLayout->rowCount();
topLayout->addWidget( buttonBox, rc, 1, 1, 1 );