forked from qt-creator/qt-creator
Bazaar: Sprinkle with auto
Change-Id: Ie87de7eeeba6988870c8c35eab67be576f4e60a5 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@ UnCommitDialog::UnCommitDialog(QWidget *parent)
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
|
||||
QPushButton* dryRunBtn = new QPushButton(tr("Dry Run"));
|
||||
auto dryRunBtn = new QPushButton(tr("Dry Run"));
|
||||
dryRunBtn->setToolTip(tr("Test the outcome of removing the last committed revision, without actually removing anything."));
|
||||
m_ui->buttonBox->addButton(dryRunBtn, QDialogButtonBox::ApplyRole);
|
||||
connect(dryRunBtn, SIGNAL(clicked()), this, SLOT(dryRun()));
|
||||
|
||||
Reference in New Issue
Block a user