summaryrefslogtreecommitdiff
path: root/src/plugins/bazaar/uncommitdialog.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2015-01-22 13:51:54 +0100
committerTobias Hunger <tobias.hunger@theqtcompany.com>2015-01-22 14:18:01 +0100
commitd2da1a94ffd13d36f5129be1d0993ad219bbf0cc (patch)
tree2341334543cb70eab58b56de9855f8e72051d931 /src/plugins/bazaar/uncommitdialog.cpp
parenta6e1e388586b6064a83a253662893df42c2a9217 (diff)
downloadqt-creator-d2da1a94ffd13d36f5129be1d0993ad219bbf0cc.tar.gz
Bazaar: Sprinkle with auto
Change-Id: Ie87de7eeeba6988870c8c35eab67be576f4e60a5 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/bazaar/uncommitdialog.cpp')
-rw-r--r--src/plugins/bazaar/uncommitdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bazaar/uncommitdialog.cpp b/src/plugins/bazaar/uncommitdialog.cpp
index 04d78fefa4..9210de0f04 100644
--- a/src/plugins/bazaar/uncommitdialog.cpp
+++ b/src/plugins/bazaar/uncommitdialog.cpp
@@ -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()));