142 idx = 6 |
142 idx = 6 |
143 else: |
143 else: |
144 idx = 5 |
144 idx = 5 |
145 self.expireHistory.setCurrentIndex(idx) |
145 self.expireHistory.setCurrentIndex(idx) |
146 |
146 |
|
147 # FIXME: fix this issue |
147 for language in range(2, QLocale.Language.LastLanguage + 1): |
148 for language in range(2, QLocale.Language.LastLanguage + 1): |
148 countries = [ |
149 countries = [ |
149 loc.country() |
150 loc.country() |
150 for loc in QLocale.matchingLocales( |
151 for loc in QLocale.matchingLocales( |
151 language, QLocale.Script.AnyScript, |
152 language, QLocale.Script.AnyScript, |