From: gdd Date: Tue, 1 Feb 2011 10:56:40 +0000 (+0000) Subject: Replace Ok/Cancel by Yes/No X-Git-Tag: Start_BR_19998_21191~76 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2a4038f8289084aca8f31185891ab3c3ff8e2251;p=modules%2Fgeom.git Replace Ok/Cancel by Yes/No Translation into another language is automatically done by Qt, no "tr" is needed. --- diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx index a2df755b4..d86e3c051 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx @@ -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 );