From 5d19b875a1b091833b4524c985be14df66163ae3 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 14 May 2024 21:31:12 +0200 Subject: [PATCH] [keyboard] Prefer layout "it" over "it2" for Italian FIXES #2326 --- src/modules/keyboard/Tests.cpp | 1 + src/modules/keyboard/kbd-model-map | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/keyboard/Tests.cpp b/src/modules/keyboard/Tests.cpp index 4c6d0cebb..2cdb58935 100644 --- a/src/modules/keyboard/Tests.cpp +++ b/src/modules/keyboard/Tests.cpp @@ -45,6 +45,7 @@ KeyboardLayoutTests::testSimpleLayoutLookup_data() QTest::newRow( "turkish default" ) << QString( "tr" ) << QString() << QString() << QString( "trq" ); QTest::newRow( "turkish alt-q" ) << QString( "tr" ) << QString() << QString( "alt" ) << QString( "trq" ); QTest::newRow( "turkish f" ) << QString( "tr" ) << QString() << QString( "f" ) << QString( "trf" ); + QTest::newRow( "italian" ) << QString( "it" ) << QString( "pc105" ) << QString() << QString( "it" ); } diff --git a/src/modules/keyboard/kbd-model-map b/src/modules/keyboard/kbd-model-map index 6ec00c81b..ab024f0c2 100644 --- a/src/modules/keyboard/kbd-model-map +++ b/src/modules/keyboard/kbd-model-map @@ -40,6 +40,7 @@ slovene si pc105 - terminate:ctrl_alt_bksp hu101 hu pc105 qwerty terminate:ctrl_alt_bksp jp106 jp jp106 - terminate:ctrl_alt_bksp croat hr pc105 - terminate:ctrl_alt_bksp +it it pc105 - terminate:ctrl_alt_bksp it2 it pc105 - terminate:ctrl_alt_bksp hu hu pc105 - terminate:ctrl_alt_bksp sr-latin rs pc105 latin terminate:ctrl_alt_bksp @@ -47,7 +48,6 @@ fi fi pc105 - terminate:ctrl_alt_bksp fr_CH ch pc105 fr terminate:ctrl_alt_bksp dk-latin1 dk pc105 - terminate:ctrl_alt_bksp fr fr pc105 - terminate:ctrl_alt_bksp -it it pc105 - terminate:ctrl_alt_bksp ua-utf ua,us pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll fr-latin1 fr pc105 - terminate:ctrl_alt_bksp sg-latin1 ch pc105 de_nodeadkeys terminate:ctrl_alt_bksp