From 2a4038f8289084aca8f31185891ab3c3ff8e2251 Mon Sep 17 00:00:00 2001 From: gdd Date: Tue, 1 Feb 2011 10:56:40 +0000 Subject: [PATCH] Replace Ok/Cancel by Yes/No Translation into another language is automatically done by Qt, no "tr" is needed. --- src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.39.2