Bazaar: Sprinkle with auto

Change-Id: Ie87de7eeeba6988870c8c35eab67be576f4e60a5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-01-22 13:51:54 +01:00
parent a6e1e38858
commit d2da1a94ff
3 changed files with 11 additions and 19 deletions

View File

@@ -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()));