New File/Project Dialog: Don't use &c twice

I'm not sure how the cancel button gets that accelerator, but the
default button should not have a accelarator anyway.

Task-number: QTCREATORBUG-10608
Change-Id: I18899bfa039a82f0cbb2cf6ae0ed21a9f0e619d8
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Daniel Teske
2013-11-05 15:55:42 +01:00
parent 1a37da73ab
commit f85c200244

View File

@@ -194,7 +194,7 @@ NewDialog::NewDialog(QWidget *parent) :
m_ui->frame->setPalette(p);
m_okButton = m_ui->buttonBox->button(QDialogButtonBox::Ok);
m_okButton->setDefault(true);
m_okButton->setText(tr("&Choose..."));
m_okButton->setText(tr("Choose..."));
m_model = new QStandardItemModel(this);
m_twoLevelProxyModel = new TwoLevelProxyModel(this);