summaryrefslogtreecommitdiffstats
path: root/header.BSD
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2017-06-08 12:30:22 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2017-06-09 08:24:40 +0000
commit6a4875f0d17f7ab282eebfd2870918a1abf032a5 (patch)
tree2fd71536784f1dd1fa08edf7db5bbba0511f8b9a /header.BSD
parente93af7dafd4d45cfb48efb766080964f666b4f87 (diff)
Replace three functions with one simpler function
load{Language,Script,Country}Map() were all structurally very similar, so replace them with a single loadMap() that takes a second argument to say *which* map to load. At the same time, use a dict comprehension to simplify constructing the result. Change-Id: Ie43a71156010277200543a8937056efd35251955 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'header.BSD')
0 files changed, 0 insertions, 0 deletions