From c217b2c94a214f70abba126b54e32d7c5a00a0d4 Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Sun, 29 Dec 2019 19:40:08 +0100 Subject: [PATCH] Git: Use multi-arg as recommended by clazy Change-Id: I4be0341407a318bdd797744add4c6c94d5a4e01b Reviewed-by: Orgad Shaneh --- src/plugins/git/branchview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;