From f4801b8134c88718f49292470fddf01cd630a57f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 5 Dec 2019 03:36:25 -0600 Subject: Actually refactor valid_keymaps into a reusable component --- ui/qt5/inputpage.cc | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'ui') diff --git a/ui/qt5/inputpage.cc b/ui/qt5/inputpage.cc index 4717300..009fa86 100644 --- a/ui/qt5/inputpage.cc +++ b/ui/qt5/inputpage.cc @@ -16,19 +16,7 @@ #include #include -/* XXX TODO: Share with hscript/meta.cc - perhaps make a common header? */ -#include -#include -const std::set valid_keymaps = { - "us", "ad", "af", "ara", "al", "am", "at", "az", "by", "be", "bd", "in", - "ba", "br", "bg", "ma", "mm", "ca", "cd", "cn", "hr", "cz", "dk", "nl", - "bt", "ee", "ir", "iq", "fo", "fi", "fr", "gh", "gn", "ge", "de", "gr", - "hu", "is", "il", "it", "jp", "kg", "kh", "kz", "la", "latam", "lt", "lv", - "mao", "me", "mk", "mt", "mn", "no", "pl", "pt", "ro", "ru", "rs", "si", - "sk", "es", "se", "ch", "sy", "tj", "lk", "th", "tr", "ua", "gb", "uz", - "vn", "kr", "ie", "pk", "mv", "za", "epo", "np", "ng", "et", "sn", "brai", - "tm", "ml", "tz", "ke", "bw", "ph" -}; +#include "util/keymaps.hh" #ifdef HAS_INSTALL_ENV #include -- cgit v1.2.3-60-g2f50