forked from qt-creator/qt-creator
UI text: Fix UI text to follow the guidelines
- Fix typos - Replace "options" with "preferences" - Fix capitalization - Remove "please" - Do not use contractions Task-number: QTCREATORBUG-28334 Change-Id: Ie029eae435634aa2fb354e173fa107af72f7b025 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -74,7 +74,7 @@ NameValuesDialog::NameValuesDialog(const QString &windowTitle, const QString &he
|
||||
auto box = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel,
|
||||
Qt::Horizontal,
|
||||
this);
|
||||
box->button(QDialogButtonBox::Ok)->setText(tr("&Ok"));
|
||||
box->button(QDialogButtonBox::Ok)->setText(tr("&OK"));
|
||||
box->button(QDialogButtonBox::Cancel)->setText(tr("&Cancel"));
|
||||
connect(box, &QDialogButtonBox::accepted, this, &QDialog::accept);
|
||||
connect(box, &QDialogButtonBox::rejected, this, &QDialog::reject);
|
||||
|
||||
Reference in New Issue
Block a user