diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2022-12-01 15:36:19 +0200 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2022-12-08 11:10:42 +0200 |
commit | 7af2e1aadbee766eae334fe605dcf59af047bfe1 (patch) | |
tree | 90dc6b31e4c7848d6f71accd8a6f6f69f22eef09 /src/sdk | |
parent | 8392eed80a132ce3ffdcd546438adb9b4ad267e9 (diff) |
UpdateFinder: use static initialization for the list of UI languages
Callgrind shows almost fourth of the time parsing the update files was
spent on calling the QLocale().uiLanguages() method again and again
for each Updates.xml. Initialize tha languages list once instead.
Change-Id: I1e2da48d2014d8de66f3c5ea773a1f479477264f
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/sdk')
0 files changed, 0 insertions, 0 deletions