From b5e0313f419b3f2405c41340220042a7bbac8750 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Tue, 28 Jul 2020 13:42:16 +0200 Subject: [PATCH] Target Selector: Fix numbering of placeholders Change-Id: I05120f079599de696b94f4b52a4bb7d98a3d506f Reviewed-by: Christian Kandeler Reviewed-by: Eike Ziller --- src/plugins/projectexplorer/targetsettingspanel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/projectexplorer/targetsettingspanel.cpp b/src/plugins/projectexplorer/targetsettingspanel.cpp index 5421a1f39f1..e5a25c0b5fc 100644 --- a/src/plugins/projectexplorer/targetsettingspanel.cpp +++ b/src/plugins/projectexplorer/targetsettingspanel.cpp @@ -399,7 +399,7 @@ public: const QString kitName = kit->displayName(); const QString projectName = m_project->displayName(); - QAction *enableAction = menu->addAction(tr("Enable Kit for Project \"%2\"").arg(projectName)); + QAction *enableAction = menu->addAction(tr("Enable Kit for Project \"%1\"").arg(projectName)); enableAction->setEnabled(isSelectable && m_kitId.isValid() && !isEnabled()); QObject::connect(enableAction, &QAction::triggered, [this, kit] { m_project->addTargetForKit(kit); @@ -415,7 +415,7 @@ public: } }); - QAction *disableAction = menu->addAction(tr("Disable Kit for Project \"%2\"").arg(projectName)); + QAction *disableAction = menu->addAction(tr("Disable Kit for Project \"%1\"").arg(projectName)); disableAction->setEnabled(isSelectable && m_kitId.isValid() && isEnabled()); QObject::connect(disableAction, &QAction::triggered, m_project, [this] { Target *t = target();