mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
use single variable assignment in QtMetaEnumProvider::initLocale()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
0c2e8bb6e8
commit
d43c6103bf
1 changed files with 1 additions and 2 deletions
|
@ -437,8 +437,7 @@ void QtMetaEnumProvider::initLocale()
|
|||
QListIterator<QLocale::Language> itLang(languages);
|
||||
while (itLang.hasNext()) {
|
||||
QLocale::Language language = itLang.next();
|
||||
QList<QLocale::Country> countries;
|
||||
countries = QLocale::countriesForLanguage(language);
|
||||
QList<QLocale::Country> countries = QLocale::countriesForLanguage(language);
|
||||
if (countries.isEmpty() && language == system.language())
|
||||
countries << system.country();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue