From 1206271a073538f11f1096165b454d77a0759650 Mon Sep 17 00:00:00 2001 From: Roman Savochenko Date: Thu, 29 Jun 2023 20:47:53 +0900 Subject: [PATCH] kxkb: fix unnecessary translations strings. Signed-off-by: Roman Savochenko Signed-off-by: Michele Calgaro (cherry picked from commit d17e353a028f5cbfc2afc03d7190adb1aea457aa) --- kxkb/kcmlayout.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kxkb/kcmlayout.cpp b/kxkb/kcmlayout.cpp index 9499d8efc..3744f5a1c 100644 --- a/kxkb/kcmlayout.cpp +++ b/kxkb/kcmlayout.cpp @@ -837,7 +837,7 @@ void LayoutConfig::resolveConflicts(TQListViewItem *lvi) { kdDebug() << "resolveConflicts : " << current->optionName() << endl; if (current->optionName().startsWith("grp:")) { - OptionListItem *grpItem = m_optionGroups[i18n("grp")]; + OptionListItem *grpItem = m_optionGroups["grp"]; if (grpItem == NULL) { kdWarning() << "LayoutConfig: cannot find grp item group" << endl; return; @@ -967,7 +967,7 @@ void LayoutConfig::updateHotkeyCombo() { } void LayoutConfig::updateHotkeyCombo(bool initial) { - OptionListItem *grpItem = m_optionGroups[i18n("grp")]; + OptionListItem *grpItem = m_optionGroups["grp"]; if (grpItem == NULL) { kdWarning() << "LayoutConfig: cannot find grp item group" << endl; return; @@ -1071,7 +1071,7 @@ void LayoutConfig::hotkeyComboChanged() { } } - OptionListItem *grpItem = m_optionGroups[i18n("grp")]; + OptionListItem *grpItem = m_optionGroups["grp"]; if (grpItem == NULL) { kdWarning() << "LayoutConfig: cannot find grp item group" << endl; return;