diff --git a/src/plugins/git/branchview.cpp b/src/plugins/git/branchview.cpp index c28d9fc67b2..3019756c0c6 100644 --- a/src/plugins/git/branchview.cpp +++ b/src/plugins/git/branchview.cpp @@ -490,7 +490,7 @@ bool BranchView::reset(const QByteArray &resetType) return false; if (QMessageBox::question(this, tr("Git Reset"), tr("Reset branch \"%1\" to \"%2\"?") - .arg(currentName).arg(branchName), + .arg(currentName, branchName), QMessageBox::Yes, QMessageBox::No) == QMessageBox::Yes) { GitClient::instance()->reset(m_repository, QLatin1String("--" + resetType), branchName); return true;