From 2a0bc4bc7623ec0d432f158704b48960a45891d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Wed, 13 Oct 2021 00:47:38 +0200 Subject: [PATCH] fix var name of samplerGroup --- src/controllers/controlpickermenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/controlpickermenu.cpp b/src/controllers/controlpickermenu.cpp index ecef8b161e4..973264201d6 100644 --- a/src/controllers/controlpickermenu.cpp +++ b/src/controllers/controlpickermenu.cpp @@ -874,10 +874,10 @@ ControlPickerMenu::ControlPickerMenu(QWidget* pParent) for (int iSamplerNumber = 1; iSamplerNumber <= iNumSamplers; ++iSamplerNumber) { // PlayerManager::groupForSampler is 0-indexed. - QString playerGroup = PlayerManager::groupForSampler(iSamplerNumber - 1); + QString samplerGroup = PlayerManager::groupForSampler(iSamplerNumber - 1); // TODO(owen): Fix bad i18n here. addControl(effectUnitGroup, - QString("group_%1_enable").arg(playerGroup), + QString("group_%1_enable").arg(samplerGroup), assignString + m_samplerStr.arg(iSamplerNumber), assignString + m_samplerStr.arg(iSamplerNumber), effectUnitGroups,